forked from microsoft/GSL
Fixed compilation issues with gcc and clang
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user