瀏覽代碼

Add typename qualifier to identify the FunctionSignature in MethodWrapper

Ole Krüger 10 年之前
父節點
當前提交
2c3767c474
共有 1 個文件被更改,包括 1 次插入1 次删除
  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>
 	>;