Mark several classes as final for devirtualization performance benefits.
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:
@@ -10,7 +10,7 @@
|
||||
#include "AngelScriptScript.hpp"
|
||||
#include "AngelScriptTypeInfo.hpp"
|
||||
|
||||
class AngelScriptResolver : public CreatureLib::Battling::ScriptResolver {
|
||||
class AngelScriptResolver final : public CreatureLib::Battling::ScriptResolver {
|
||||
private:
|
||||
asIScriptEngine* _engine = nullptr;
|
||||
asIScriptModule* _mainModule = nullptr;
|
||||
|
||||
@@ -9,7 +9,7 @@
|
||||
#include "ContextPool.hpp"
|
||||
|
||||
class AngelScriptResolver;
|
||||
class AngelScriptScript : public PkmnLib::Battling::PkmnScript {
|
||||
class AngelScriptScript final : public PkmnLib::Battling::PkmnScript {
|
||||
private:
|
||||
AngelScriptResolver* _resolver = nullptr;
|
||||
AngelScriptTypeInfo* _type = nullptr;
|
||||
|
||||
Reference in New Issue
Block a user