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
38 lines
566 B
C++
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
|