diff options
| author | Howard Hinnant <hhinnant@apple.com> | 2013-08-12 18:38:34 +0000 |
|---|---|---|
| committer | Howard Hinnant <hhinnant@apple.com> | 2013-08-12 18:38:34 +0000 |
| commit | f0544c2086a1a592e294f24d62973ce732af33da (patch) | |
| tree | ada52136fb9bb9601fe9cbacc7cb7f9f37a90165 /libcxx/include/typeindex | |
| parent | dafc7d9447d8e7d84233e6dcd39e573adbaf4450 (diff) | |
| download | bcm5719-llvm-f0544c2086a1a592e294f24d62973ce732af33da.tar.gz bcm5719-llvm-f0544c2086a1a592e294f24d62973ce732af33da.zip | |
Nico Rieck: this patch series fixes visibility issues on Windows as explained in <http://lists.cs.uiuc.edu/pipermail/cfe-dev/2013-August/031214.html>.
llvm-svn: 188192
Diffstat (limited to 'libcxx/include/typeindex')
| -rw-r--r-- | libcxx/include/typeindex | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/include/typeindex b/libcxx/include/typeindex index 67462b74249..d4d6ca96ba4 100644 --- a/libcxx/include/typeindex +++ b/libcxx/include/typeindex @@ -55,7 +55,7 @@ struct hash<type_index> _LIBCPP_BEGIN_NAMESPACE_STD -class _LIBCPP_TYPE_VIS type_index +class _LIBCPP_TYPE_VIS_ONLY type_index { const type_info* __t_; public: @@ -87,10 +87,10 @@ public: const char* name() const _NOEXCEPT {return __t_->name();} }; -template <class _Tp> struct _LIBCPP_TYPE_VIS hash; +template <class _Tp> struct _LIBCPP_TYPE_VIS_ONLY hash; template <> -struct _LIBCPP_TYPE_VIS hash<type_index> +struct _LIBCPP_TYPE_VIS_ONLY hash<type_index> : public unary_function<type_index, size_t> { _LIBCPP_INLINE_VISIBILITY |

