I'm also a dumby sometimes

This commit is contained in:
ThePhD 2017-08-24 17:37:13 -04:00
parent 2b2a6d2ab1
commit 78fd95d456
2 changed files with 2 additions and 2 deletions

View File

@ -77,7 +77,7 @@ int main(int, char*[]) {
sol::meta_function::pairs, my_pairs sol::meta_function::pairs, my_pairs
); );
#ifdef SOL_LUA_VERSION < 502 #if SOL_LUA_VERSION < 502
lua.safe_script(R"( lua.safe_script(R"(
local mt = my_thing.new() local mt = my_thing.new()
for k, v in pairs(mt) do for k, v in pairs(mt) do

View File

@ -72,7 +72,7 @@ int main(int, char*[]) {
sol::meta_function::pairs, &my_pairs sol::meta_function::pairs, &my_pairs
); );
#ifdef SOL_LUA_VERSION < 502 #if SOL_LUA_VERSION < 502
lua.safe_script(R"( lua.safe_script(R"(
local mt = my_thing.new() local mt = my_thing.new()
for k, v in pairs(mt) do for k, v in pairs(mt) do