Fix failure on 03 bot

git-svn-id: https://llvm.org/svn/llvm-project/libcxx/trunk@282134 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Marshall Clow
2016-09-22 03:25:22 +00:00
parent 2fffe3a6ff
commit 45d7731bbb

View File

@@ -42,9 +42,9 @@ template <bool Expected, class T, class A>
void void
test() test()
{ {
static_assert(std::uses_allocator<T, A>::value == Expected, ""); static_assert((std::uses_allocator<T, A>::value == Expected), "");
#if TEST_STD_VER > 14 #if TEST_STD_VER > 14
static_assert(std::uses_allocator_v<T, A> == Expected, ""); static_assert((std::uses_allocator_v<T, A> == Expected), "");
#endif #endif
} }