rename JSON namespace to osrm::json to avoid namespace clash with V8

This commit is contained in:
Dennis Luxen
2015-02-18 10:46:40 +01:00
parent 9e09168597
commit 79b9bdf7ce
24 changed files with 109 additions and 98 deletions
+2 -2
View File
@@ -81,10 +81,10 @@ int main(int argc, const char *argv[])
// target_coordinate
route_parameters.coordinates.emplace_back(52.513191 * COORDINATE_PRECISION,
13.415852 * COORDINATE_PRECISION);
JSON::Object json_result;
osrm::json::Object json_result;
const int result_code = routing_machine.RunQuery(route_parameters, json_result);
SimpleLogger().Write() << "http code: " << result_code;
JSON::render(SimpleLogger().Write(), json_result);
osrm::json::render(SimpleLogger().Write(), json_result);
}
catch (std::exception &current_exception)
{