Selaa lähdekoodia

Add typename qualifier to identify the FunctionSignature in MethodWrapper

Ole Krüger 10 vuotta sitten
vanhempi
commit
2c3767c474
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  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>
 	>;