소스 검색

Invoke Layout::direct correctly

Ole Krüger 10 년 전
부모
커밋
4d9d4b7100
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      lib/luwra/stack.hpp

+ 1 - 1
lib/luwra/stack.hpp

@@ -35,7 +35,7 @@ namespace internal {
 	struct Layout<R(T1, TR...)> {
 		template <typename F, typename... A> static inline
 		R direct(State* state, int n, F hook, A&&... args) {
-			return Layout<R(TR...)>::template direct<F, R>(
+			return Layout<R(TR...)>::direct(
 				state,
 				n + 1,
 				hook,