diff --git a/include/sol/usertype_storage.hpp b/include/sol/usertype_storage.hpp index b0949060..86ad00e0 100644 --- a/include/sol/usertype_storage.hpp +++ b/include/sol/usertype_storage.hpp @@ -1040,7 +1040,7 @@ namespace sol { namespace u_detail { stack::set_field(L, detail::base_class_cast_key(), reinterpret_cast(&detail::inheritance::type_cast), t.stack_index()); auto prop_fx = detail::properties_enrollment_allowed(for_each_backing_metatable_calls, storage.properties, enrollments); - auto insert_fx = [&L, &t, &storage, &smt](meta_function mf, lua_CFunction reg) { + auto insert_fx = [&L, &t, &storage](meta_function mf, lua_CFunction reg) { stack::set_field(L, mf, reg, t.stack_index()); storage.properties[static_cast(mf)] = true; }; diff --git a/single/include/sol/forward.hpp b/single/include/sol/forward.hpp index 38266fa5..2ef62d97 100644 --- a/single/include/sol/forward.hpp +++ b/single/include/sol/forward.hpp @@ -20,8 +20,8 @@ // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // This file was generated with a script. -// Generated 2019-05-29 23:31:18.215247 UTC -// This header was generated with sol v3.0.2 (revision 5a4d7dc) +// Generated 2019-05-30 02:01:01.713986 UTC +// This header was generated with sol v3.0.2 (revision 3dd617d) // https://github.com/ThePhD/sol2 #ifndef SOL_SINGLE_INCLUDE_FORWARD_HPP diff --git a/single/include/sol/sol.hpp b/single/include/sol/sol.hpp index a4ea43ce..461a458f 100644 --- a/single/include/sol/sol.hpp +++ b/single/include/sol/sol.hpp @@ -20,8 +20,8 @@ // CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. // This file was generated with a script. -// Generated 2019-05-29 23:31:17.933001 UTC -// This header was generated with sol v3.0.2 (revision 5a4d7dc) +// Generated 2019-05-30 02:01:01.136993 UTC +// This header was generated with sol v3.0.2 (revision 3dd617d) // https://github.com/ThePhD/sol2 #ifndef SOL_SINGLE_INCLUDE_HPP @@ -21754,7 +21754,7 @@ namespace sol { namespace u_detail { stack::set_field(L, detail::base_class_cast_key(), reinterpret_cast(&detail::inheritance::type_cast), t.stack_index()); auto prop_fx = detail::properties_enrollment_allowed(for_each_backing_metatable_calls, storage.properties, enrollments); - auto insert_fx = [&L, &t, &storage, &smt](meta_function mf, lua_CFunction reg) { + auto insert_fx = [&L, &t, &storage](meta_function mf, lua_CFunction reg) { stack::set_field(L, mf, reg, t.stack_index()); storage.properties[static_cast(mf)] = true; };