Update to new Arbutils
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -9,11 +9,11 @@ using namespace CreatureLib::Battling;
|
||||
|
||||
class TestScript : public Script {
|
||||
private:
|
||||
ArbUt::CaseInsensitiveConstString _name;
|
||||
ArbUt::StringView _name;
|
||||
|
||||
public:
|
||||
explicit TestScript(std::string name) : _name(std::move(name)){};
|
||||
const ArbUt::CaseInsensitiveConstString& GetName() const noexcept override { return _name; }
|
||||
const ArbUt::StringView& GetName() const noexcept override { return _name; }
|
||||
|
||||
void TestMethod(int& runCount) { runCount++; }
|
||||
};
|
||||
|
||||
@@ -9,11 +9,11 @@ using namespace CreatureLib::Battling;
|
||||
|
||||
class TestScript : public Script {
|
||||
private:
|
||||
ArbUt::CaseInsensitiveConstString _name;
|
||||
ArbUt::StringView _name;
|
||||
|
||||
public:
|
||||
explicit TestScript(std::string name) : _name(std::move(name)){};
|
||||
const ArbUt::CaseInsensitiveConstString& GetName() const noexcept override { return _name; }
|
||||
const ArbUt::StringView& GetName() const noexcept override { return _name; }
|
||||
};
|
||||
|
||||
TEST_CASE("Empty script set count == 0", "[Battling, Scripting]") {
|
||||
|
||||
@@ -10,11 +10,11 @@ using namespace CreatureLib::Battling;
|
||||
|
||||
class TestScript : public Script {
|
||||
private:
|
||||
ArbUt::CaseInsensitiveConstString _name;
|
||||
ArbUt::StringView _name;
|
||||
|
||||
public:
|
||||
explicit TestScript(std::string name) : _name(std::move(name)){};
|
||||
const ArbUt::CaseInsensitiveConstString& GetName() const noexcept override { return _name; }
|
||||
const ArbUt::StringView& GetName() const noexcept override { return _name; }
|
||||
|
||||
void TestMethod(int& runCount) { runCount++; }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user