This references thing is really going to hurt me from VC++ one day in production

This commit is contained in:
ThePhD 2017-03-19 19:13:50 -04:00
parent c2b8a9cc57
commit 6520f1bc8e

View File

@ -49,7 +49,7 @@ int main(int, char**) {
// Our recursive function
// We use some lambda techniques and pass the function itself itself so we can recurse,
// but a regular function would work too!
auto fx = [&lua, &things](auto& f, auto& tbl) -> void {
auto fx = [&lua, &things](auto& f, auto tbl) -> void {
// You can iterate through a table: it has
// begin() and end()
// like standard containers