From f45ecdcff45665e8a653a573b069a3ecf8d7ffd6 Mon Sep 17 00:00:00 2001 From: ThePhD Date: Sat, 18 Jun 2016 03:45:03 -0400 Subject: [PATCH] Always unqualify / decay arguments --- sol/raii.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sol/raii.hpp b/sol/raii.hpp index 86105410..b91407b9 100644 --- a/sol/raii.hpp +++ b/sol/raii.hpp @@ -94,7 +94,7 @@ const destructor_wrapper default_destructor{}; template inline destructor_wrapper destructor(Fx&& fx) { - return destructor_wrapper(std::forward(fx)); + return destructor_wrapper>(std::forward(fx)); } } // sol