mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
warning fix
This commit is contained in:
parent
2aa49c7470
commit
98a6c825b1
1 changed files with 1 additions and 1 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue