diff options
author | Howard Hinnant <hhinnant@apple.com> | 2013-08-12 22:38:34 +0400 |
---|---|---|
committer | Howard Hinnant <hhinnant@apple.com> | 2013-08-12 22:38:34 +0400 |
commit | f0544c2086a1a592e294f24d62973ce732af33da (patch) | |
tree | ada52136fb9bb9601fe9cbacc7cb7f9f37a90165 /libcxx/include/stack | |
parent | dafc7d9447d8e7d84233e6dcd39e573adbaf4450 (diff) |
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/stack')
-rw-r--r-- | libcxx/include/stack | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libcxx/include/stack b/libcxx/include/stack index b8a7f4c08090..30909c1ee3bd 100644 --- a/libcxx/include/stack +++ b/libcxx/include/stack @@ -91,7 +91,7 @@ template <class T, class Container> _LIBCPP_BEGIN_NAMESPACE_STD -template <class _Tp, class _Container> class _LIBCPP_TYPE_VIS stack; +template <class _Tp, class _Container> class _LIBCPP_TYPE_VIS_ONLY stack; template <class _Tp, class _Container> _LIBCPP_INLINE_VISIBILITY @@ -104,7 +104,7 @@ bool operator< (const stack<_Tp, _Container>& __x, const stack<_Tp, _Container>& __y); template <class _Tp, class _Container = deque<_Tp> > -class _LIBCPP_TYPE_VIS stack +class _LIBCPP_TYPE_VIS_ONLY stack { public: typedef _Container container_type; @@ -282,7 +282,7 @@ swap(stack<_Tp, _Container>& __x, stack<_Tp, _Container>& __y) } template <class _Tp, class _Container, class _Alloc> -struct _LIBCPP_TYPE_VIS uses_allocator<stack<_Tp, _Container>, _Alloc> +struct _LIBCPP_TYPE_VIS_ONLY uses_allocator<stack<_Tp, _Container>, _Alloc> : public uses_allocator<_Container, _Alloc> { }; |