diff options
author | Herbert Dürr <hdu@apache.org> | 2013-11-26 13:16:13 +0000 |
---|---|---|
committer | Herbert Dürr <hdu@apache.org> | 2013-11-26 13:16:13 +0000 |
commit | f809591727a01b24d6665e4dc378d6a59ea4b020 (patch) | |
tree | 7574ae3dd6afdfa393ceb0ad3bb2d2d7a67f7c7c /stlport | |
parent | ffb3bedc183791815eca699ef247f7109b9ffc21 (diff) |
#i123755# remove the stlport4-emulation of hash-container's resize() method
and call the rehash() methods of their TR1 counterparts directly
Notes
Notes:
ignore: obsolete
Diffstat (limited to 'stlport')
-rw-r--r-- | stlport/systemstl/hash_map | 2 | ||||
-rw-r--r-- | stlport/systemstl/hash_set | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/stlport/systemstl/hash_map b/stlport/systemstl/hash_map index 72b2700a2e97..a14bb6829b38 100644 --- a/stlport/systemstl/hash_map +++ b/stlport/systemstl/hash_map @@ -69,7 +69,6 @@ public: hash_map& operator=( const hash_map& r) { hash_map c(r); this->swap(c); return *this; } #endif - void resize( size_t n) { _super::rehash(n); } private: // setting the hasher dynamically is not supported in the emulation! hash_map( size_t, const __H&, const __E& rE=__E(), const __A& rA=__A()); // not implemented @@ -98,7 +97,6 @@ public: hash_multimap& operator=( const hash_multimap& r) { hash_multimap c(r); this->swap(c); return *this; } #endif - void resize( size_t n) { _super::rehash(n); } private: // setting the hasher dynamically is not supported in the emulation! hash_multimap( size_t, const __H&, const __E& rE=__E(), const __A& rA=__A()); // not implemented diff --git a/stlport/systemstl/hash_set b/stlport/systemstl/hash_set index 7cbf797e0347..c97ee05a43cf 100644 --- a/stlport/systemstl/hash_set +++ b/stlport/systemstl/hash_set @@ -58,7 +58,6 @@ class hash_set public: hash_set( void) {} hash_set( size_t n) : _super(n) {} - void resize( size_t n) { _super::rehash( n); } #ifdef BOOST_TR1_UNORDERED_SET_INCLUDED // workaround pre-BOOST_UNORDERED_USE_MOVE problem // in derived classes the copy assignment operator can only be declared implicitly if @@ -84,7 +83,6 @@ class hash_multiset public: hash_multiset( void) {} hash_multiset( size_t n) : _super( n) {} - void resize( size_t n) { _super::rehash( n); } #ifdef BOOST_TR1_UNORDERED_SET_INCLUDED // workaround pre-BOOST_UNORDERED_USE_MOVE problem // in derived classes the copy assignment operator can only be declared implicitly if |