Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r80276 - trunk/libs/unordered/test/objects
From: dnljms_at_[hidden]
Date: 2012-08-28 04:04:52


Author: danieljames
Date: 2012-08-28 04:04:51 EDT (Tue, 28 Aug 2012)
New Revision: 80276
URL: http://svn.boost.org/trac/boost/changeset/80276

Log:
Unordered: De-template constructor for allocator2 from allocator.

Sun is failing one of the tests because it isn't using it implicitly.

Text files modified:
   trunk/libs/unordered/test/objects/exception.hpp | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/libs/unordered/test/objects/exception.hpp
==============================================================================
--- trunk/libs/unordered/test/objects/exception.hpp (original)
+++ trunk/libs/unordered/test/objects/exception.hpp 2012-08-28 04:04:51 EDT (Tue, 28 Aug 2012)
@@ -425,10 +425,10 @@
             test::detail::tracker.allocator_ref();
         }
 
- template <class Y> allocator2(allocator<Y> const& x) : tag_(x.tag_)
+ allocator2(allocator<T> const& x) : tag_(x.tag_)
         {
             UNORDERED_SCOPE(allocator2::allocator2()) {
- UNORDERED_EPOINT("Mock allocator2 copy constructor from allocator.");
+ UNORDERED_EPOINT("Mock allocator2 constructor from allocator.");
             }
             test::detail::tracker.allocator_ref();
         }


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