Update to newer Arbutils.
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2020-07-04 15:12:12 +02:00
parent 772619db0f
commit 61bf868583
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
3 changed files with 3 additions and 3 deletions

View File

@ -12,7 +12,7 @@ private:
ArbUt::StringView _name;
public:
explicit TestScript(std::string name) : _name(std::move(name)){};
explicit TestScript(const std::string& name) : _name(name.c_str(), name.length()){};
const ArbUt::StringView& GetName() const noexcept override { return _name; }
void TestMethod(int& runCount) { runCount++; }

View File

@ -12,7 +12,7 @@ private:
ArbUt::StringView _name;
public:
explicit TestScript(std::string name) : _name(std::move(name)){};
explicit TestScript(const std::string& name) : _name(name.c_str(), name.length()){};
const ArbUt::StringView& GetName() const noexcept override { return _name; }
};

View File

@ -13,7 +13,7 @@ private:
ArbUt::StringView _name;
public:
explicit TestScript(std::string name) : _name(std::move(name)){};
explicit TestScript(const std::string& name) : _name(name.c_str(), name.length()){};
const ArbUt::StringView& GetName() const noexcept override { return _name; }
void TestMethod(int& runCount) { runCount++; }