Unordered: De-template constructor for allocator2 from allocator.

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


[SVN r80276]
This commit is contained in:
Daniel James
2012-08-28 08:04:51 +00:00
parent a822b27efc
commit c0faf59a86

View File

@ -425,10 +425,10 @@ namespace exception
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();
}