Explorar el Código

Add typename qualifier to identify the FunctionSignature in MethodWrapper

Ole Krüger hace 10 años
padre
commit
2c3767c474
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      lib/luwra/wrappers.hpp

+ 1 - 1
lib/luwra/wrappers.hpp

@@ -127,7 +127,7 @@ template <
 >
 constexpr CFunction WrapMethod =
 	WrapFunction<
-		internal::MethodWrapper<T, S>::FunctionSignature,
+		typename internal::MethodWrapper<T, S>::FunctionSignature,
 		internal::MethodWrapper<T, S>::template delegate<MethodPointer>
 	>;