aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorjaewoo.seo <jaebar@gmail.com>2015-03-15 17:51:55 +0900
committerjaewoo.seo <jaebar@gmail.com>2015-03-15 17:51:55 +0900
commitf0f5b223f0874146b31bdaf78cb4b321113d8748 (patch)
tree7a0f9a4bc819cd715b95793f3a0f7b3aab4a7ad9 /include
parent41d4a0457c4415f0e2d0fe6cf0bf9f9d17a582d0 (diff)
downloadcrow-f0f5b223f0874146b31bdaf78cb4b321113d8748.tar.gz
crow-f0f5b223f0874146b31bdaf78cb4b321113d8748.zip
VS2013 x64 build support
Diffstat (limited to 'include')
-rw-r--r--include/routing.h4
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...>)
{