Merge pull request #82 from d-led/master

`CROW_ROUTE` macro for  the `CROW_MSVC_WORKAROUND` case
This commit is contained in:
ipkn 2015-08-30 01:47:09 +09:00
commit 94bdacd58f

View File

@ -16,7 +16,12 @@
#include "http_request.h" #include "http_request.h"
#include "http_server.h" #include "http_server.h"
#ifdef CROW_MSVC_WORKAROUND
#define CROW_ROUTE(app, url) app.route_dynamic(url)
#else
#define CROW_ROUTE(app, url) app.route<crow::black_magic::get_parameter_tag(url)>(url) #define CROW_ROUTE(app, url) app.route<crow::black_magic::get_parameter_tag(url)>(url)
#endif
namespace crow namespace crow
{ {