aboutsummaryrefslogtreecommitdiffstats
path: root/routing.h
diff options
context:
space:
mode:
authoripkn <ipknhama@gmail.com>2014-07-09 09:23:37 +0900
committeripkn <ipknhama@gmail.com>2014-07-09 09:23:37 +0900
commit31d2e07bc2e8660f6a8e4fe5f29b5d3b9e275ed1 (patch)
tree7a31668e507d40a90cbc2487274ec1b252baa8cf /routing.h
parente02e1d33900b4b120998bcbc366144d421e3b760 (diff)
parentb4ec0017604b89676230de2177658b9ce44c0978 (diff)
downloadcrow-31d2e07bc2e8660f6a8e4fe5f29b5d3b9e275ed1.tar.gz
crow-31d2e07bc2e8660f6a8e4fe5f29b5d3b9e275ed1.zip
Merge pull request #4 from dZkF9RWJT6wN8ux/master
Some fixes
Diffstat (limited to 'routing.h')
-rw-r--r--routing.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/routing.h b/routing.h
index c3be5fd..3a8b7ab 100644
--- a/routing.h
+++ b/routing.h
@@ -11,6 +11,7 @@
#include "http_response.h"
#include "http_request.h"
#include "utility.h"
+#include "logging.h"
namespace crow
{
@@ -182,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)