mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Fix a typo in the inheritance example #1514
This commit is contained in:
parent
9c882a28fd
commit
cd213414b5
|
@ -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",
|
||||
|
|
Loading…
Reference in New Issue
Block a user