mirror of
https://github.com/CrowCpp/Crow.git
synced 2024-06-07 21:10:44 +00:00
Merge pull request #82 from d-led/master
`CROW_ROUTE` macro for the `CROW_MSVC_WORKAROUND` case
This commit is contained in:
commit
94bdacd58f
@ -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
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user