Sfoglia il codice sorgente

Invoke Layout::direct correctly

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