More removals of inline functions, this time for release build
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Deukhoofd 2019-07-04 19:31:52 +02:00
parent 017e7fdd2e
commit eb3afce5c5
Signed by: Deukhoofd
GPG Key ID: ADF2E9256009EDCE
1 changed files with 4 additions and 4 deletions

View File

@ -11,7 +11,7 @@
#include "Parser/Parser.hpp"
#include "Binder/Binder.hpp"
inline Porygon::Script* Porygon::Script::Create(const u16string& script) {
Porygon::Script* Porygon::Script::Create(const u16string& script) {
return new Script(script);
}
@ -65,7 +65,7 @@ void Porygon::Script::Parse(const u16string& script) {
delete parseResult;
}
inline EvalValue *Porygon::Script::GetVariable(const u16string &key) {
EvalValue *Porygon::Script::GetVariable(const u16string &key) {
return _scriptVariables -> at(HashedString::CreateLookup(key)).get();
}
@ -74,7 +74,7 @@ bool Porygon::Script::HasVariable(const u16string &key) {
return f != _scriptVariables->end();
}
inline EvalValue *Porygon::Script::GetLastValue() {
EvalValue *Porygon::Script::GetLastValue() {
return _evaluator->GetLastValue();
}
@ -83,7 +83,7 @@ bool Porygon::Script::HasFunction(const u16string &key) {
return f != _scriptVariables->end() && f.operator->()->second->GetTypeClass() == TypeClass ::Function;
}
inline shared_ptr<EvalValue> Porygon::Script::CallFunction(const u16string &key, const vector<EvalValue *>& variables) {
shared_ptr<EvalValue> Porygon::Script::CallFunction(const u16string &key, const vector<EvalValue *>& variables) {
auto var = (GenericFunctionEvalValue*)GetVariable(key);
return this->_evaluator->EvaluateFunction(var, variables);
}