diff options
author | Alex Butum <alexbutum@linux.com> | 2014-07-08 13:14:21 +0300 |
---|---|---|
committer | Alex Butum <alexbutum@linux.com> | 2014-07-08 13:14:21 +0300 |
commit | d7eac147fb0a8f0a48d9253390abf6fac233b6fa (patch) | |
tree | 048129c64b86abdd196c30a86760a42b1bc8c128 /routing.h | |
parent | 205648c001e52a8d2ab6861cd483a3731ee04771 (diff) | |
download | crow-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) |