Removed superflous member that saves about 10 percent of RAM

This commit is contained in:
DennisOSRM
2011-12-01 14:48:06 +01:00
parent fb661ab6f6
commit 5236fb8c0e
4 changed files with 5 additions and 6 deletions
+1 -1
View File
@@ -164,7 +164,7 @@ public:
w.type = 1;
//Get the unique identifier for the street name
StringMap::const_iterator strit = stringMap->find(w.name);
const StringMap::const_iterator strit = stringMap->find(w.name);
if(strit == stringMap->end()) {
w.nameID = externalMemory->nameVector.size();
externalMemory->nameVector.push_back(w.name);
+1 -1
View File
@@ -256,7 +256,7 @@ private:
return false;
} else {
assert(!ed.shortcut);
path.push_back(_PathData(ed.via, ed.nameID1, ed.turnInstruction, ed.distance) );
path.push_back(_PathData(ed.via, ed.nameID, ed.turnInstruction, ed.distance) );
return true;
}
}