summaryrefslogtreecommitdiff
path: root/stlport
diff options
context:
space:
mode:
authorHerbert Dürr <hdu@apache.org>2014-01-22 12:06:51 +0000
committerHerbert Dürr <hdu@apache.org>2014-01-22 12:06:51 +0000
commitc9f0dafd9c6e22d5031b7e813c7335a6667af42f (patch)
treef626f21415a8926f5e62f164bd6271abd4426ff4 /stlport
parentdbf0a30b0d2930e34cc6964982bb1141839ec5da (diff)
#i123817# remove workaround obsoleted by the boost-1.55 update
boost>=1.49 fixes the quirks of unordered containers for compilers that don't support rvalue references
Notes
Notes: ignore: obsolete
Diffstat (limited to 'stlport')
-rw-r--r--stlport/systemstl/hash_map14
-rw-r--r--stlport/systemstl/hash_set14
2 files changed, 0 insertions, 28 deletions
diff --git a/stlport/systemstl/hash_map b/stlport/systemstl/hash_map
index 27ad691a763b..198b055af8f3 100644
--- a/stlport/systemstl/hash_map
+++ b/stlport/systemstl/hash_map
@@ -64,13 +64,6 @@ public:
hash_map( void) {}
hash_map( size_t n) : _super( n) {}
-#ifdef BOOST_TR1_UNORDERED_MAP_INCLUDED // workaround pre-BOOST_UNORDERED_USE_MOVE problem
- // in derived classes the copy assignment operator can only be declared implicitly if
- // its base class's assignment operator has the canonical signature.
- // boost's assignment operators don't have this canonical signature when move-semantics are enabled
- hash_map& operator=( const hash_map& r) { hash_map c(r); this->swap(c); return *this; }
-#endif
-
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
@@ -92,13 +85,6 @@ public:
hash_multimap( void) {}
hash_multimap( size_t n) : _super( n) {}
-#ifdef BOOST_TR1_UNORDERED_MAP_INCLUDED // workaround pre-BOOST_UNORDERED_USE_MOVE problem
- // in derived classes the copy assignment operator can only be declared implicitly if
- // its base class's assignment operator has the canonical signature.
- // boost's assignment operators don't have this canonical signature when move-semantics are enabled
- hash_multimap& operator=( const hash_multimap& r) { hash_multimap c(r); this->swap(c); return *this; }
-#endif
-
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 3bffc11a02b4..a6bc33cf0d6c 100644
--- a/stlport/systemstl/hash_set
+++ b/stlport/systemstl/hash_set
@@ -61,13 +61,6 @@ public:
hash_set( void) {}
hash_set( size_t n) : _super(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
- // its base class's assignment operator has the canonical signature.
- // boost's assignment operators don't have this canonical signature when move-semantics are enabled
- hash_set& operator=( const hash_set& r) { hash_set c(r); this->swap(c); return *this; }
-#endif
-
private:
// setting the hasher dynamically is not supported in the emulation!
hash_set( size_t, const __H&, const __E& rE=__E(), const __A& rA=__A()); // not implemented
@@ -86,13 +79,6 @@ public:
hash_multiset( void) {}
hash_multiset( size_t n) : _super( 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
- // its base class's assignment operator has the canonical signature.
- // boost's assignment operators don't have this canonical signature when move-semantics are enabled
- hash_multiset& operator=( const hash_multiset& r) { hash_multiset c(r); this->swap(c); return *this; }
-#endif
-
private:
// setting the hasher dynamically is not supported in the emulation!
hash_multiset( size_t, const __H&, const __E& rE=__E(), const __A& rA=__A()); // not implemented