[libcxx] r274206 - Fix use of terse static assert. Patch from STL at microsoft.com

Eric Fiselier via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 29 21:29:12 PDT 2016


Author: ericwf
Date: Wed Jun 29 23:29:12 2016
New Revision: 274206

URL: http://llvm.org/viewvc/llvm-project?rev=274206&view=rev
Log:
Fix use of terse static assert. Patch from STL at microsoft.com

Modified:
    libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable_include_order.pass.cpp

Modified: libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable_include_order.pass.cpp
URL: http://llvm.org/viewvc/llvm-project/libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable_include_order.pass.cpp?rev=274206&r1=274205&r2=274206&view=diff
==============================================================================
--- libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable_include_order.pass.cpp (original)
+++ libcxx/trunk/test/std/utilities/meta/meta.unary/meta.unary.prop/is_swappable_include_order.pass.cpp Wed Jun 29 23:29:12 2016
@@ -31,7 +31,7 @@ int main()
     {
         LIBCPP_STATIC_ASSERT(std::__is_swappable<T>::value, "");
 #if TEST_STD_VER > 14
-        static_assert(std::is_swappable_v<T>);
+        static_assert(std::is_swappable_v<T>, "");
 #endif
     }
     {




More information about the cfe-commits mailing list