Преглед на файлове

Use stripped user type when registering constructor

Ole преди 10 години
родител
ревизия
f922121055
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  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) {