warning fix

This commit is contained in:
MihailRis 2024-02-14 01:23:14 +03:00
parent 2aa49c7470
commit 98a6c825b1

View File

@ -77,7 +77,7 @@ static bool processCallback(
) {
try {
return state->eval(env, src, file) != 0;
} catch (lua::luaerror err) {
} catch (lua::luaerror& err) {
std::cerr << err.what() << std::endl;
return false;
}