osrm-backend/include/server/api/parsed_url.hpp
Michael Krasnyk fe08726387 Fix BOOST_FUSION_ADAPT_STRUCT parameters for ParsedURL
Fix build error: macro "BOOST_FUSION_ADAPT_STRUCT" passed 5 arguments, but takes just 2
https://travis-ci.org/Project-OSRM/osrm-backend/builds/121406444
2016-04-08 21:03:50 +02:00

38 lines
566 B
C++

#ifndef SERVER_API_PARSED_URL_HPP
#define SERVER_API_PARSED_URL_HPP
#include "util/coordinate.hpp"
#include <boost/fusion/include/adapt_struct.hpp>
#include <string>
#include <vector>
namespace osrm
{
namespace server
{
namespace api
{
struct ParsedURL final
{
std::string service;
unsigned version;
std::string profile;
std::string query;
};
} // api
} // server
} // osrm
BOOST_FUSION_ADAPT_STRUCT(osrm::server::api::ParsedURL,
(std::string, service)
(unsigned, version)
(std::string, profile)
(std::string, query)
)
#endif