aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authoripkn <ipknhama@gmail.com>2015-03-18 22:39:41 +0900
committeripkn <ipknhama@gmail.com>2015-03-18 22:39:41 +0900
commit028cd0ecc086bfd18a8aabeeb2e9e18e52928438 (patch)
tree418d5d4629ee1253919e5f22b148d8c3bb35beda /include
parent04ecfd5e056a7f369196153288748870706e739d (diff)
parentf0f5b223f0874146b31bdaf78cb4b321113d8748 (diff)
downloadcrow-028cd0ecc086bfd18a8aabeeb2e9e18e52928438.tar.gz
crow-028cd0ecc086bfd18a8aabeeb2e9e18e52928438.zip
Merge pull request #53 from JaewooSeo/vs2013
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 7def7ca..3261134 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...>)
{