Order ServerPaths members by memory size, pass ServerPaths by ref

This commit is contained in:
Frederic Rodrigo
2015-01-06 15:33:57 +00:00
parent 598f5519d1
commit 12f2acc9ff
4 changed files with 9 additions and 9 deletions
+1 -1
View File
@@ -278,7 +278,7 @@ inline unsigned GenerateServerProgramOptions(const int argc,
}
if (1 > max_locations_distance_table)
{
throw OSRMException("Max location for distance table must be a positive number");
throw osrm::exception("Max location for distance table must be a positive number");
}
SimpleLogger().Write() << visible_options;