summaryrefslogtreecommitdiffstats
path: root/libcxx/test/std/strings/basic.string/string.modifiers/string_replace
diff options
context:
space:
mode:
Diffstat (limited to 'libcxx/test/std/strings/basic.string/string.modifiers/string_replace')
-rw-r--r--libcxx/test/std/strings/basic.string/string.modifiers/string_replace/size_size_T_size_size.pass.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/size_size_T_size_size.pass.cpp b/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/size_size_T_size_size.pass.cpp
index dcabbae5211..1ebaa3b36f0 100644
--- a/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/size_size_T_size_size.pass.cpp
+++ b/libcxx/test/std/strings/basic.string/string.modifiers/string_replace/size_size_T_size_size.pass.cpp
@@ -30,7 +30,7 @@ test(S s, typename S::size_type pos1, typename S::size_type n1,
SV sv, typename S::size_type pos2, typename S::size_type n2,
S expected)
{
- static_assert(!std::is_same<S, SV>::value, "");
+ static_assert((!std::is_same<S, SV>::value), "");
typename S::size_type old_size = s.size();
S s0 = s;
try
@@ -56,7 +56,7 @@ test_npos(S s, typename S::size_type pos1, typename S::size_type n1,
SV sv, typename S::size_type pos2,
S expected)
{
- static_assert(!std::is_same<S, SV>::value, "");
+ static_assert((!std::is_same<S, SV>::value), "");
typename S::size_type old_size = s.size();
S s0 = s;
try
OpenPOWER on IntegriCloud