From 82482bfe3e719f06bb7ad0e975697a2ac107bf2b Mon Sep 17 00:00:00 2001 From: ThePhD Date: Mon, 13 Mar 2017 18:08:32 -0400 Subject: [PATCH] one fix at a time... --- sol/state_view.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sol/state_view.hpp b/sol/state_view.hpp index a443c797..14032d65 100644 --- a/sol/state_view.hpp +++ b/sol/state_view.hpp @@ -353,7 +353,7 @@ namespace sol { template state_view& set_usertype(Key&& key, usertype& user) { - global.set_usertype(std::forward(key), std::move(user)); + global.set_usertype(std::forward(key), user); return *this; }