Explorar el Código

Use stripped user type when registering constructor

Ole hace 10 años
padre
commit
f922121055
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/luwra/usertypes.hpp

+ 1 - 1
lib/luwra/usertypes.hpp

@@ -256,7 +256,7 @@ namespace internal {
 
 	template <typename T, typename... A>
 	struct UserTypeSignature<T (A...)> {
-		using UserType = T;
+		using UserType = StripUserType<T>;
 
 		static inline
 		void registerConstructor(State* state, const std::string& name) {