From c0faf59a864403e0204e6dcbec6f11cfbf112a2b Mon Sep 17 00:00:00 2001 From: Daniel James Date: Tue, 28 Aug 2012 08:04:51 +0000 Subject: [PATCH] Unordered: De-template constructor for allocator2 from allocator. Sun is failing one of the tests because it isn't using it implicitly. [SVN r80276] --- test/objects/exception.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/objects/exception.hpp b/test/objects/exception.hpp index 2fba92c1..4d7d872a 100644 --- a/test/objects/exception.hpp +++ b/test/objects/exception.hpp @@ -425,10 +425,10 @@ namespace exception test::detail::tracker.allocator_ref(); } - template allocator2(allocator const& x) : tag_(x.tag_) + allocator2(allocator 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(); }