aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--routing.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/routing.h b/routing.h
index afc79ca..3a8b7ab 100644
--- a/routing.h
+++ b/routing.h
@@ -183,7 +183,7 @@ namespace crow
void operator()(std::string name, Func&& f)
{
name_ = std::move(name);
- (*this).operator()<Func>(std::forward(f));
+ (*this).template operator()<Func>(std::forward(f));
}
response handle(const request& req, const routing_params& params)