Skipping ContractionCleantup entirely. Avoids a big allocation. Removing

DELETE() macro.
This commit is contained in:
DennisOSRM
2012-04-12 19:35:47 +02:00
parent b16f3f91d9
commit e104017d4c
7 changed files with 35 additions and 34 deletions
+5
View File
@@ -69,6 +69,11 @@ public:
bool forward:1;
bool backward:1;
} data;
bool operator<( const Edge& right ) const {
if ( source != right.source )
return source < right.source;
return target < right.target;
}
//sorts by source and other attributes
static bool CompareBySource( const Edge& left, const Edge& right ) {