aboutsummaryrefslogtreecommitdiffstats
path: root/routing.h
diff options
context:
space:
mode:
authorAlex Butum <alexbutum@linux.com>2014-07-08 13:14:21 +0300
committerAlex Butum <alexbutum@linux.com>2014-07-08 13:14:21 +0300
commitd7eac147fb0a8f0a48d9253390abf6fac233b6fa (patch)
tree048129c64b86abdd196c30a86760a42b1bc8c128 /routing.h
parent205648c001e52a8d2ab6861cd483a3731ee04771 (diff)
downloadcrow-d7eac147fb0a8f0a48d9253390abf6fac233b6fa.tar.gz
crow-d7eac147fb0a8f0a48d9253390abf6fac233b6fa.zip
use 'template' keyword to treat 'operator ()' as a dependent template name in TaggedRule class
Diffstat (limited to 'routing.h')
-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)