Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r70027 - trunk/libs/unordered/test/objects
From: dnljms_at_[hidden]
Date: 2011-03-16 17:33:42


Author: danieljames
Date: 2011-03-16 17:33:41 EDT (Wed, 16 Mar 2011)
New Revision: 70027
URL: http://svn.boost.org/trac/boost/changeset/70027

Log:
Remove workaround for ancient gcc verisons.
Text files modified:
   trunk/libs/unordered/test/objects/test.hpp | 38 --------------------------------------
   1 files changed, 0 insertions(+), 38 deletions(-)

Modified: trunk/libs/unordered/test/objects/test.hpp
==============================================================================
--- trunk/libs/unordered/test/objects/test.hpp (original)
+++ trunk/libs/unordered/test/objects/test.hpp 2011-03-16 17:33:41 EDT (Wed, 16 Mar 2011)
@@ -279,44 +279,6 @@
     {
         return x == y;
     }
-
-#if BOOST_WORKAROUND(__GNUC__, < 3)
- void swap(test::object& x, test::object& y) {
- test::object tmp;
- tmp = x;
- x = y;
- y = tmp;
- }
-
- void swap(test::hash& x, test::hash& y) {
- test::hash tmp;
- tmp = x;
- x = y;
- y = tmp;
- }
-
- void swap(test::less& x, test::less& y) {
- test::less tmp;
- tmp = x;
- x = y;
- y = tmp;
- }
-
- void swap(test::equal_to& x, test::equal_to& y) {
- test::equal_to tmp;
- tmp = x;
- x = y;
- y = tmp;
- }
-
- template <class T>
- void swap(test::allocator<T>& x, test::allocator<T>& y) {
- test::allocator<T> tmp;
- tmp = x;
- x = y;
- y = tmp;
- }
-#endif
 }
 
 #endif


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk