diff options
author | jaewoo.seo <jaebar@gmail.com> | 2015-03-15 17:51:55 +0900 |
---|---|---|
committer | jaewoo.seo <jaebar@gmail.com> | 2015-03-15 17:51:55 +0900 |
commit | f0f5b223f0874146b31bdaf78cb4b321113d8748 (patch) | |
tree | 7a0f9a4bc819cd715b95793f3a0f7b3aab4a7ad9 /include/routing.h | |
parent | 41d4a0457c4415f0e2d0fe6cf0bf9f9d17a582d0 (diff) | |
download | crow-f0f5b223f0874146b31bdaf78cb4b321113d8748.tar.gz crow-f0f5b223f0874146b31bdaf78cb4b321113d8748.zip |
VS2013 x64 build support
Diffstat (limited to 'include/routing.h')
-rw-r--r-- | include/routing.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/routing.h b/include/routing.h index efee28b..a84e027 100644 --- a/include/routing.h +++ b/include/routing.h @@ -294,7 +294,11 @@ namespace crow // enable_if Arg1 == request && Arg2 == response // enable_if Arg1 == request && Arg2 != resposne // enable_if Arg1 != request +#ifdef CROW_MSVC_WORKAROUND + template <typename Func, size_t ... Indices> +#else template <typename Func, unsigned ... Indices> +#endif std::function<void(const request&, response&, const routing_params&)> wrap(Func f, black_magic::seq<Indices...>) { |