From d6407e509537a4b2687548da314c7adab07cd878 Mon Sep 17 00:00:00 2001 From: "Daniel J. Hofmann" Date: Tue, 12 Apr 2016 21:12:08 +0200 Subject: [PATCH] Fixes regression introduced in 8ff8dc. References: - https://github.com/Project-OSRM/osrm-backend/pull/2252/commits/8ff8dc7200c0e1623b66ec950419be233ab37cc3 --- include/server/api/table_parameter_grammar.hpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/server/api/table_parameter_grammar.hpp b/include/server/api/table_parameter_grammar.hpp index 29a0ebdbb..00fe7031d 100644 --- a/include/server/api/table_parameter_grammar.hpp +++ b/include/server/api/table_parameter_grammar.hpp @@ -30,7 +30,8 @@ struct TableParametersGrammar final : public BaseParametersGrammar const auto set_sources = [this](SourcesT sources) { parameters.sources = std::move(sources); }; -#ifdef BOOST_HAS_LONG_LONG +// TODO: ulonglong -> size_t not only on Windows but on all 32 bit platforms; unsupported anyway as of now +#ifdef WIN32 destinations_rule = (qi::lit("destinations=") > (qi::ulong_long % ";")[set_destiantions]) | qi::lit("destinations=all"); sources_rule =