missed one

This commit is contained in:
ThePhD 2017-03-13 18:03:01 -04:00
parent 72fe0a5a31
commit b46901903d

View File

@ -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>