Explorar o código

Add typename qualifier to identify the FunctionSignature in MethodWrapper

Ole Krüger %!s(int64=10) %!d(string=hai) anos
pai
achega
2c3767c474
Modificáronse 1 ficheiros con 1 adicións e 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>
 	>;