[libcxx] r282134 - Fix failure on 03 bot
Marshall Clow via cfe-commits
cfe-commits at lists.llvm.org
Wed Sep 21 20:25:23 PDT 2016
Author: marshall
Date: Wed Sep 21 22:25:22 2016
New Revision: 282134
URL: http://llvm.org/viewvc/llvm-project?rev=282134&view=rev
Log:
Fix failure on 03 bot
Modified:
libcxx/trunk/test/std/utilities/memory/allocator.uses/allocator.uses.trait/uses_allocator.pass.cpp
Modified: libcxx/trunk/test/std/utilities/memory/allocator.uses/allocator.uses.trait/uses_allocator.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/memory/allocator.uses/allocator.uses.trait/uses_allocator.pass.cpp?rev=282134&r1=282133&r2=282134&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/memory/allocator.uses/allocator.uses.trait/uses_allocator.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/memory/allocator.uses/allocator.uses.trait/uses_allocator.pass.cpp Wed Sep 21 22:25:22 2016
@@ -42,9 +42,9 @@ template <bool Expected, class T, class
void
test()
{
- static_assert(std::uses_allocator<T, A>::value == Expected, "");
+ static_assert((std::uses_allocator<T, A>::value == Expected), "");
#if TEST_STD_VER > 14
- static_assert(std::uses_allocator_v<T, A> == Expected, "");
+ static_assert((std::uses_allocator_v<T, A> == Expected), "");
#endif
}
More information about the cfe-commits
mailing list