More removals of inline functions, this time for release build
	
		
			
	
		
	
	
		
	
		
			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:
		| @@ -11,7 +11,7 @@ | |||||||
| #include "Parser/Parser.hpp" | #include "Parser/Parser.hpp" | ||||||
| #include "Binder/Binder.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); |     return new Script(script); | ||||||
| } | } | ||||||
|  |  | ||||||
| @@ -65,7 +65,7 @@ void Porygon::Script::Parse(const u16string& script) { | |||||||
|     delete parseResult; |     delete parseResult; | ||||||
| } | } | ||||||
|  |  | ||||||
| inline EvalValue *Porygon::Script::GetVariable(const u16string &key) { | EvalValue *Porygon::Script::GetVariable(const u16string &key) { | ||||||
|     return _scriptVariables -> at(HashedString::CreateLookup(key)).get(); |     return _scriptVariables -> at(HashedString::CreateLookup(key)).get(); | ||||||
| } | } | ||||||
|  |  | ||||||
| @@ -74,7 +74,7 @@ bool Porygon::Script::HasVariable(const u16string &key) { | |||||||
|     return f != _scriptVariables->end(); |     return f != _scriptVariables->end(); | ||||||
| } | } | ||||||
|  |  | ||||||
| inline EvalValue *Porygon::Script::GetLastValue() { | EvalValue *Porygon::Script::GetLastValue() { | ||||||
|     return _evaluator->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; |     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); |     auto var = (GenericFunctionEvalValue*)GetVariable(key); | ||||||
|     return this->_evaluator->EvaluateFunction(var, variables); |     return this->_evaluator->EvaluateFunction(var, variables); | ||||||
| } | } | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user