From 6520f1bc8e955f09c76be40f116328ce26c99a30 Mon Sep 17 00:00:00 2001 From: ThePhD Date: Sun, 19 Mar 2017 19:13:50 -0400 Subject: [PATCH] This references thing is really going to hurt me from VC++ one day in production --- examples/optional_with_iteration.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/optional_with_iteration.cpp b/examples/optional_with_iteration.cpp index 1bb81e1e..a7c8e439 100644 --- a/examples/optional_with_iteration.cpp +++ b/examples/optional_with_iteration.cpp @@ -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