Fix formatting
This commit is contained in:
@@ -231,6 +231,6 @@ struct BaseParametersGrammar : boost::spirit::qi::grammar<Iterator, Signature>
|
||||
qi::symbols<char, engine::Approach> approach_type;
|
||||
qi::symbols<char, engine::api::BaseParameters::SnappingType> snapping_type;
|
||||
};
|
||||
} // namespace osrm
|
||||
} // namespace osrm::server::api
|
||||
|
||||
#endif
|
||||
|
||||
@@ -58,6 +58,6 @@ struct MatchParametersGrammar final : public RouteParametersGrammar<Iterator, Si
|
||||
|
||||
qi::symbols<char, engine::api::MatchParameters::GapsType> gaps_type;
|
||||
};
|
||||
} // namespace osrm
|
||||
} // namespace osrm::server::api
|
||||
|
||||
#endif
|
||||
|
||||
@@ -36,6 +36,6 @@ struct NearestParametersGrammar final : public BaseParametersGrammar<Iterator, S
|
||||
qi::rule<Iterator, Signature> root_rule;
|
||||
qi::rule<Iterator, Signature> nearest_rule;
|
||||
};
|
||||
} // namespace osrm
|
||||
} // namespace osrm::server::api
|
||||
|
||||
#endif
|
||||
|
||||
@@ -39,6 +39,6 @@ boost::optional<ParameterT> parseParameters(std::string options_string)
|
||||
return parseParameters<ParameterT>(first, last);
|
||||
}
|
||||
|
||||
} // namespace osrm
|
||||
} // namespace osrm::server::api
|
||||
|
||||
#endif
|
||||
|
||||
@@ -18,6 +18,6 @@ struct ParsedURL final
|
||||
std::size_t prefix_length;
|
||||
};
|
||||
|
||||
} // namespace osrm
|
||||
} // namespace osrm::server::api
|
||||
|
||||
#endif
|
||||
|
||||
@@ -109,6 +109,6 @@ struct RouteParametersGrammar : public BaseParametersGrammar<Iterator, Signature
|
||||
qi::symbols<char, engine::api::RouteParameters::OverviewType> overview_type;
|
||||
qi::symbols<char, engine::api::RouteParameters::AnnotationsType> annotations_type;
|
||||
};
|
||||
} // namespace osrm
|
||||
} // namespace osrm::server::api
|
||||
|
||||
#endif
|
||||
|
||||
@@ -102,6 +102,6 @@ struct TableParametersGrammar : public BaseParametersGrammar<Iterator, Signature
|
||||
fallback_coordinate_type;
|
||||
qi::real_parser<double, json_policy> double_;
|
||||
};
|
||||
} // namespace osrm
|
||||
} // namespace osrm::server::api
|
||||
|
||||
#endif
|
||||
|
||||
@@ -36,6 +36,6 @@ struct TileParametersGrammar final : boost::spirit::qi::grammar<Iterator, Signat
|
||||
private:
|
||||
qi::rule<Iterator, Signature> root_rule;
|
||||
};
|
||||
} // namespace osrm
|
||||
} // namespace osrm::server::api
|
||||
|
||||
#endif
|
||||
|
||||
@@ -56,6 +56,6 @@ struct TripParametersGrammar final : public RouteParametersGrammar<Iterator, Sig
|
||||
qi::symbols<char, engine::api::TripParameters::SourceType> source_type;
|
||||
qi::symbols<char, engine::api::TripParameters::DestinationType> destination_type;
|
||||
};
|
||||
} // namespace osrm
|
||||
} // namespace osrm::server::api
|
||||
|
||||
#endif
|
||||
|
||||
@@ -18,6 +18,6 @@ inline boost::optional<ParsedURL> parseURL(std::string url_string)
|
||||
auto iter = url_string.begin();
|
||||
return parseURL(iter, url_string.end());
|
||||
}
|
||||
} // namespace osrm
|
||||
} // namespace osrm::server::api
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user