This commit is contained in:
3 files changed
+3
-3
No files matched your search
@@ -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++; }
|
||||
|
||||
@@ -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; }
|
||||
};
|
||||
|
||||
|
||||
@@ -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++; }
|
||||
|
||||
Reference in new issue
Block a user