one fix at a time...

This commit is contained in:
ThePhD 2017-03-13 18:08:32 -04:00
parent b46901903d
commit 82482bfe3e

View File

@ -353,7 +353,7 @@ namespace sol {
template<typename Key, typename T>
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;
}