load timestamp properly

This commit is contained in:
DennisOSRM 2013-10-13 14:26:42 +02:00
parent 457519eae3
commit 467cf73635

View File

@ -62,7 +62,7 @@ QueryObjectsStorage::QueryObjectsStorage( const ServerPaths & paths ) {
BOOST_ASSERT(0 == node_list.size()); BOOST_ASSERT(0 == node_list.size());
BOOST_ASSERT(0 == edge_list.size()); BOOST_ASSERT(0 == edge_list.size());
paths_iterator = paths.find("hsgrdata"); paths_iterator = paths.find("timestamp");
if(paths.end() != paths_iterator) { if(paths.end() != paths_iterator) {
SimpleLogger().Write() << "Loading Timestamp"; SimpleLogger().Write() << "Loading Timestamp";
@ -82,7 +82,6 @@ QueryObjectsStorage::QueryObjectsStorage( const ServerPaths & paths ) {
if(25 < timestamp.length()) { if(25 < timestamp.length()) {
timestamp.resize(25); timestamp.resize(25);
} }
SimpleLogger().Write() << "Loading auxiliary information"; SimpleLogger().Write() << "Loading auxiliary information";
paths_iterator = paths.find("ramindex"); paths_iterator = paths.find("ramindex");