Sfoglia il codice sorgente

Add typename qualifier to identify the FunctionSignature in MethodWrapper

Ole Krüger 10 anni fa
parent
commit
2c3767c474
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  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>
 	>;