diff options
| author | Dimitry Andric <dim@FreeBSD.org> | 2013-04-27 17:27:12 +0000 |
|---|---|---|
| committer | Dimitry Andric <dim@FreeBSD.org> | 2013-04-27 17:27:12 +0000 |
| commit | 527d9fcb66574fdd657c3235c0d7cba7c5439d5c (patch) | |
| tree | f4dbdda47a8f2e8eb8196e6a33ed834e8400837e /include/ext/__hash | |
| parent | c7f918d0681828afdbddfdcc354b6f3dfc2a7b68 (diff) | |
Notes
Diffstat (limited to 'include/ext/__hash')
| -rw-r--r-- | include/ext/__hash | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/ext/__hash b/include/ext/__hash index 21500e894dcd..f6ecfe3605c7 100644 --- a/include/ext/__hash +++ b/include/ext/__hash @@ -19,10 +19,10 @@ namespace __gnu_cxx { using namespace std; -template <typename T> struct _LIBCPP_VISIBLE hash : public std::hash<T> +template <typename T> struct _LIBCPP_TYPE_VIS hash : public std::hash<T> { }; -template <> struct _LIBCPP_VISIBLE hash<const char*> +template <> struct _LIBCPP_TYPE_VIS hash<const char*> : public unary_function<const char*, size_t> { _LIBCPP_INLINE_VISIBILITY @@ -32,7 +32,7 @@ template <> struct _LIBCPP_VISIBLE hash<const char*> } }; -template <> struct _LIBCPP_VISIBLE hash<char *> +template <> struct _LIBCPP_TYPE_VIS hash<char *> : public unary_function<char*, size_t> { _LIBCPP_INLINE_VISIBILITY |
