mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Unused parameter warnings will be the death of me someday
This commit is contained in:
parent
295bc3a911
commit
0c8ec828d5
|
@ -518,7 +518,7 @@ TEST_CASE("usertype/simple-call-constructor", "ensure that all kinds of call-bas
|
|||
);
|
||||
|
||||
lua.new_simple_usertype<r_test>("r_test",
|
||||
sol::call_constructor, [](sol::table t) {
|
||||
sol::call_constructor, [](sol::table) {
|
||||
return r_test(22);
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue
Block a user