Changes empty static StringView, as it caused conflicts with older Empty bool checker.
Some checks failed
continuous-integration/drone/push Build is failing
Some checks failed
continuous-integration/drone/push Build is failing
This commit is contained in:
parent
f330e8a9e0
commit
0d9ea1d3a3
@ -87,7 +87,7 @@ namespace ArbUt {
|
|||||||
return Hash(val.data());
|
return Hash(val.data());
|
||||||
}
|
}
|
||||||
|
|
||||||
static const StringView& Empty();
|
static const StringView& EmptyString();
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user