Fix a typo in the inheritance example #1514

This commit is contained in:
C3pa 2023-11-06 15:44:12 +01:00
parent 9c882a28fd
commit cd213414b5

View File

@ -20,7 +20,7 @@ int main(int, char*[]) {
sol::state lua;
lua.new_usertype<B>("A", "call", &A::call);
lua.new_usertype<A>("A", "call", &A::call);
lua.new_usertype<B>("B",
"call",