diff options
author | fdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-04-26 20:13:41 +0000 |
---|---|---|
committer | fdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4> | 2013-04-26 20:13:41 +0000 |
commit | a46bf44e4c4be57cd1dbc362ddbb2983bcf2e653 (patch) | |
tree | 1d11b6faa71069e953ae7f6940be83e234d773c4 /libstdc++-v3/include | |
parent | ea99c7a1262ad596b6c1a4f64fbe85eeda3a2e66 (diff) | |
download | gcc-a46bf44e4c4be57cd1dbc362ddbb2983bcf2e653.tar.gz |
2013-04-26 François Dumont <fdumont@gcc.gnu.org>
* include/bits/hashtable_policy.h
(_Insert_base<>::insert<_It>(_It, _It)): Enable move semantics.
* testsuite/23_containers/unordered_set/insert/move_range.cc: New.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@198346 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include')
-rw-r--r-- | libstdc++-v3/include/bits/hashtable_policy.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/bits/hashtable_policy.h b/libstdc++-v3/include/bits/hashtable_policy.h index 5cabb53bb6d..1cf6cb2ec53 100644 --- a/libstdc++-v3/include/bits/hashtable_policy.h +++ b/libstdc++-v3/include/bits/hashtable_policy.h @@ -665,7 +665,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION __h._M_rehash(__do_rehash.second, __saved_state); for (; __first != __last; ++__first) - this->insert(*__first); + __h._M_insert(*__first, __unique_keys()); } /** |