Changes empty static StringView, as it caused conflicts with older Empty bool checker.
continuous-integration/drone/push Build is failing Details

This commit is contained in:
Deukhoofd 2020-08-08 12:09:23 +02:00
parent f330e8a9e0
commit 0d9ea1d3a3
Signed by: Deukhoofd
GPG Key ID: F63E044490819F6F
2 changed files with 2 additions and 2 deletions

View File

@ -87,7 +87,7 @@ namespace ArbUt {
return Hash(val.data()); return Hash(val.data());
} }
static const StringView& Empty(); static const StringView& EmptyString();
}; };
} }

View File

@ -77,7 +77,7 @@ TEST_CASE("Out of scope char* doesn't lose reference", "[Utilities]") {
} }
TEST_CASE("Get Empty String", "[Utilities]") { TEST_CASE("Get Empty String", "[Utilities]") {
REQUIRE(ArbUt::StringView::Empty() == ""_cnc); REQUIRE(ArbUt::StringView::EmptyString() == ""_cnc);
} }