Added C Interface for Script.
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:
@@ -13,7 +13,7 @@ private:
|
||||
|
||||
public:
|
||||
explicit TestScript(std::string name) : _name(std::move(name)){};
|
||||
const ConstString& GetName() const override { return _name; }
|
||||
const ConstString& GetName() const noexcept override { return _name; }
|
||||
|
||||
void TestMethod(int& runCount) { runCount++; }
|
||||
};
|
||||
|
||||
@@ -13,7 +13,7 @@ private:
|
||||
|
||||
public:
|
||||
explicit TestScript(std::string name) : _name(std::move(name)){};
|
||||
const ConstString& GetName() const override { return _name; }
|
||||
const ConstString& GetName() const noexcept override { return _name; }
|
||||
};
|
||||
|
||||
TEST_CASE("Empty script set count == 0", "[Battling, Scripting]") {
|
||||
|
||||
@@ -14,7 +14,7 @@ private:
|
||||
|
||||
public:
|
||||
explicit TestScript(std::string name) : _name(std::move(name)){};
|
||||
const ConstString& GetName() const override { return _name; }
|
||||
const ConstString& GetName() const noexcept override { return _name; }
|
||||
|
||||
void TestMethod(int& runCount) { runCount++; }
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user