[cfe-commits] [libcxx] r121503 - /libcxx/trunk/test/utilities/allocator.adaptor/types.pass.cpp
Howard Hinnant
hhinnant at apple.com
Fri Dec 10 11:22:37 PST 2010
Author: hhinnant
Date: Fri Dec 10 13:22:37 2010
New Revision: 121503
URL: http://llvm.org/viewvc/llvm-project?rev=121503&view=rev
Log:
Test adjustment for recent changes in allocator_traits
Modified:
libcxx/trunk/test/utilities/allocator.adaptor/types.pass.cpp
Modified: libcxx/trunk/test/utilities/allocator.adaptor/types.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/utilities/allocator.adaptor/types.pass.cpp?rev=121503&r1=121502&r2=121503&view=diff
==============================================================================
--- libcxx/trunk/test/utilities/allocator.adaptor/types.pass.cpp (original)
+++ libcxx/trunk/test/utilities/allocator.adaptor/types.pass.cpp Fri Dec 10 13:22:37 2010
@@ -43,7 +43,7 @@
static_assert((std::is_same<
std::scoped_allocator_adaptor<A1<int>>::size_type,
- std::size_t>::value), "");
+ std::make_unsigned<std::ptrdiff_t>::type>::value), "");
static_assert((std::is_same<
std::scoped_allocator_adaptor<A1<int>>::difference_type,
More information about the cfe-commits
mailing list