mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
one fix at a time...
This commit is contained in:
parent
b46901903d
commit
82482bfe3e
@ -353,7 +353,7 @@ namespace sol {
|
|||||||
|
|
||||||
template<typename Key, typename T>
|
template<typename Key, typename T>
|
||||||
state_view& set_usertype(Key&& key, usertype<T>& user) {
|
state_view& set_usertype(Key&& key, usertype<T>& user) {
|
||||||
global.set_usertype(std::forward<Key>(key), std::move(user));
|
global.set_usertype(std::forward<Key>(key), user);
|
||||||
return *this;
|
return *this;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user