mirror of
https://github.com/microsoft/GSL.git
synced 2026-01-29 09:40:07 +01:00
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