mirror of
https://github.com/ThePhD/sol2.git
synced 2024-03-22 13:10:44 +08:00
missed one
This commit is contained in:
parent
72fe0a5a31
commit
b46901903d
|
@ -348,7 +348,7 @@ namespace sol {
|
|||
|
||||
template<typename T>
|
||||
state_view& set_usertype(usertype<T>& user) {
|
||||
return set_usertype(usertype_traits<T>::name(), std::move(user));
|
||||
return set_usertype(usertype_traits<T>::name(), user);
|
||||
}
|
||||
|
||||
template<typename Key, typename T>
|
||||
|
|
Loading…
Reference in New Issue
Block a user