diff options
Diffstat (limited to 'libstdc++-v3/include')
-rw-r--r-- | libstdc++-v3/include/bits/unordered_map.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libstdc++-v3/include/bits/unordered_map.h b/libstdc++-v3/include/bits/unordered_map.h index 22a5166cc3c..6d5b29e09d2 100644 --- a/libstdc++-v3/include/bits/unordered_map.h +++ b/libstdc++-v3/include/bits/unordered_map.h @@ -397,7 +397,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER _Pair&&>::value>::type> std::pair<iterator, bool> insert(_Pair&& __x) - { return _M_h.insert(std::move(__x)); } + { return _M_h.insert(std::forward<_Pair>(__x)); } //@} //@{ @@ -431,7 +431,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER _Pair&&>::value>::type> iterator insert(const_iterator __hint, _Pair&& __x) - { return _M_h.insert(__hint, std::move(__x)); } + { return _M_h.insert(__hint, std::forward<_Pair>(__x)); } //@} /** @@ -1093,7 +1093,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER _Pair&&>::value>::type> iterator insert(_Pair&& __x) - { return _M_h.insert(std::move(__x)); } + { return _M_h.insert(std::forward<_Pair>(__x)); } //@} //@{ @@ -1125,7 +1125,7 @@ _GLIBCXX_BEGIN_NAMESPACE_CONTAINER _Pair&&>::value>::type> iterator insert(const_iterator __hint, _Pair&& __x) - { return _M_h.insert(__hint, std::move(__x)); } + { return _M_h.insert(__hint, std::forward<_Pair>(__x)); } //@} /** |