summaryrefslogtreecommitdiffstats
path: root/include/__hash_table
diff options
context:
space:
mode:
authorEric Fiselier <eric@efcs.ca>2016-09-25 04:05:46 +0000
committerEric Fiselier <eric@efcs.ca>2016-09-25 04:05:46 +0000
commit01c3b629cef9c8dfdab04a8c0f59d3c1e5c3b557 (patch)
treeaf923058a27ffb516420ede0b24697ba165d3eac /include/__hash_table
parent4e3e15ad994eab09d83c1d5602597babca1d2756 (diff)
downloadexternal_libcxx-01c3b629cef9c8dfdab04a8c0f59d3c1e5c3b557.tar.gz
external_libcxx-01c3b629cef9c8dfdab04a8c0f59d3c1e5c3b557.tar.bz2
external_libcxx-01c3b629cef9c8dfdab04a8c0f59d3c1e5c3b557.zip
Fix missing _LIBCPP_INLINE_VISIBILITY macro on C++03 specific __hash_table function
git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@282349 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/__hash_table')
-rw-r--r--include/__hash_table3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/__hash_table b/include/__hash_table
index 6a0e6fea0..3072f93e0 100644
--- a/include/__hash_table
+++ b/include/__hash_table
@@ -1100,6 +1100,7 @@ public:
#else // !defined(_LIBCPP_CXX03_LANG)
template <class _Key, class _Args>
+ _LIBCPP_INLINE_VISIBILITY
pair<iterator, bool> __emplace_unique_key_args(_Key const&, _Args& __args);
iterator __insert_multi(const __container_value_type& __x);
@@ -1937,13 +1938,11 @@ __hash_table<_Tp, _Hash, _Equal, _Alloc>::__node_insert_multi(
#ifndef _LIBCPP_CXX03_LANG
template <class _Tp, class _Hash, class _Equal, class _Alloc>
template <class _Key, class ..._Args>
-_LIBCPP_INLINE_VISIBILITY
pair<typename __hash_table<_Tp, _Hash, _Equal, _Alloc>::iterator, bool>
__hash_table<_Tp, _Hash, _Equal, _Alloc>::__emplace_unique_key_args(_Key const& __k, _Args&&... __args)
#else
template <class _Tp, class _Hash, class _Equal, class _Alloc>
template <class _Key, class _Args>
-_LIBCPP_INLINE_VISIBILITY
pair<typename __hash_table<_Tp, _Hash, _Equal, _Alloc>::iterator, bool>
__hash_table<_Tp, _Hash, _Equal, _Alloc>::__emplace_unique_key_args(_Key const& __k, _Args& __args)
#endif