Fixed compilation issues with gcc and clang

This commit is contained in:
Anna Gringauze
2016-02-06 21:37:17 +00:00
parent ed906e7aae
commit 45f2bdb486
2 changed files with 6 additions and 6 deletions

View File

@@ -846,7 +846,7 @@ SUITE(string_span_tests)
span[last] = '\0';
auto ret = span.subspan(0, 4);
return ret;
return{ ret };
}
TEST(zstring)
@@ -903,7 +903,7 @@ SUITE(string_span_tests)
span[last] = L'\0';
auto ret = span.subspan(0, 4);
return ret;
return{ ret };
}
TEST(wzstring)