浏览代码

Yes, even more

Ole Krüger 10 年之前
父节点
当前提交
e75814a26b
共有 1 个文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lib/luwra/usertypes.hpp

+ 2 - 2
lib/luwra/usertypes.hpp

@@ -60,7 +60,7 @@ namespace internal {
 		using FunctionSignature = R (T&, A...);
 
 		template <MethodPointerType MethodPointer> static
-		R delegate(T& parent, A... args) {
+		R Delegate(T& parent, A... args) {
 			return (parent.*MethodPointer)(std::forward<A>(args)...);
 		}
 	};
@@ -186,7 +186,7 @@ template <
 constexpr CFunction WrapMethod =
 	WrapFunction<
 		typename internal::MethodWrapper<T, S>::FunctionSignature,
-		internal::MethodWrapper<T, S>::template delegate<MethodPointer>
+		internal::MethodWrapper<T, S>::template Delegate<MethodPointer>
 	>;
 
 LUWRA_NS_END