From b24cc065b53fb6fc9c044e984f22f279f44dce8c Mon Sep 17 00:00:00 2001 From: Naios Date: Sun, 9 Aug 2015 12:11:55 +0200 Subject: [PATCH] fix clang & gcc build --- mockup.cpp | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/mockup.cpp b/mockup.cpp index a602db6..bddf306 100644 --- a/mockup.cpp +++ b/mockup.cpp @@ -24,10 +24,7 @@ template struct Continuable; template -Continuable<> make_continuable(Args&&...) -{ - return Continuable<>(); -} +Continuable<> make_continuable(Args&&...); template struct Continuable @@ -45,6 +42,12 @@ struct Continuable } }; +template +Continuable<> make_continuable(Args&&...) +{ + return Continuable<>(); +} + template Continuable<> operator&& (Continuable&&, Continuable&&) {