diff --git a/test_simple_usertypes.cpp b/test_simple_usertypes.cpp index 423fd8d6..dc92a71f 100644 --- a/test_simple_usertypes.cpp +++ b/test_simple_usertypes.cpp @@ -518,7 +518,7 @@ TEST_CASE("usertype/simple-call-constructor", "ensure that all kinds of call-bas ); lua.new_simple_usertype("r_test", - sol::call_constructor, [](sol::table t) { + sol::call_constructor, [](sol::table) { return r_test(22); } );