memory related refactor
This commit is contained in:
@@ -34,7 +34,7 @@ static bool processCallback(
|
||||
try {
|
||||
return state->eval(*env, src, file) != 0;
|
||||
} catch (lua::luaerror& err) {
|
||||
std::cerr << err.what() << std::endl;
|
||||
logger.error() << err.what();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -1,11 +1,11 @@
|
||||
#ifndef LOGIC_SCRIPTING_SCRIPTING_FUNCTIONAL_HPP_
|
||||
#define LOGIC_SCRIPTING_SCRIPTING_FUNCTIONAL_HPP_
|
||||
|
||||
#include <glm/glm.hpp>
|
||||
#include <string>
|
||||
#include "../../typedefs.hpp"
|
||||
#include "../../delegates.hpp"
|
||||
|
||||
#include <string>
|
||||
|
||||
namespace scripting {
|
||||
runnable create_runnable(
|
||||
const scriptenv& env,
|
||||
|
||||
Reference in New Issue
Block a user