Unordered: Use C++11 allocator_traits with gcc 4.7.

[SVN r76970]
This commit is contained in:
Daniel James committed 2012-02-11 12:33:25 +00:00
1 parent 2aee3add16
commit 08230efb44
2 files changed
+9 -2

No files matched your search

+1 -1
View File
@@ -132,7 +132,7 @@ void test_allocator1()
BOOST_MPL_ASSERT((boost::is_same<typename traits::size_type,
std::make_unsigned<std::ptrdiff_t>::type>));
#else
BOOST_MPL_ASSERT((boost::is_same<traits::size_type, std::size_t>));
BOOST_MPL_ASSERT((boost::is_same<typename traits::size_type, std::size_t>));
#endif
BOOST_MPL_ASSERT((boost::is_same<traits::difference_type, std::ptrdiff_t>));
BOOST_MPL_ASSERT((boost::is_same<traits::pointer, int*>));