aboutsummaryrefslogtreecommitdiffstats
path: root/include/routing.h
diff options
context:
space:
mode:
authoripknHama <ipknhama@gmail.com>2016-08-27 14:15:16 +0900
committeripknHama <ipknhama@gmail.com>2016-08-27 14:15:16 +0900
commit9e851ec896d2bbfdec869dbb6e6968b1afc913f0 (patch)
tree37681aa6c0df109d712136267ffa58cc38f70832 /include/routing.h
parent8138d212ffbd9c251ad9c29216cf2790a22e6ff0 (diff)
downloadcrow-9e851ec896d2bbfdec869dbb6e6968b1afc913f0.tar.gz
crow-9e851ec896d2bbfdec869dbb6e6968b1afc913f0.zip
Handling macro issues
- fix IS_NUM conflict (for MySQL) - avoid DELETE, ERROR (for Windows)
Diffstat (limited to 'include/routing.h')
-rw-r--r--include/routing.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/routing.h b/include/routing.h
index 3261134..418209c 100644
--- a/include/routing.h
+++ b/include/routing.h
@@ -38,7 +38,7 @@ namespace crow
}
protected:
- uint32_t methods_{1<<(int)HTTPMethod::GET};
+ uint32_t methods_{1<<(int)HTTPMethod::Get};
std::string rule_;
std::string name_;