mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
Fix argument usage typo.
This commit is contained in:
parent
bf75afa250
commit
6a77d5cf42
|
@ -171,7 +171,7 @@ namespace sol {
|
||||||
if (type_of(L_, -1) == type::thread) {
|
if (type_of(L_, -1) == type::thread) {
|
||||||
return lua_tothread(L_, -1);
|
return lua_tothread(L_, -1);
|
||||||
}
|
}
|
||||||
return backup_if_unsupported;
|
return backup_if_unsupported_;
|
||||||
#else
|
#else
|
||||||
if (L_ == nullptr)
|
if (L_ == nullptr)
|
||||||
return backup_if_unsupported_;
|
return backup_if_unsupported_;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user