Browse Source

Add typename qualifier to identify the FunctionSignature in MethodWrapper

Ole Krüger 10 years ago
parent
commit
2c3767c474
1 changed files with 1 additions and 1 deletions
  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>
 	>;