Fixing useless comparison
This commit is contained in:
parent
405600783e
commit
26729ca482
@ -67,7 +67,7 @@ bool ExtractorCallbacks::restrictionFunction(_RawRestrictionContainer &r) {
|
|||||||
bool ExtractorCallbacks::wayFunction(_Way &w) {
|
bool ExtractorCallbacks::wayFunction(_Way &w) {
|
||||||
/*** Store name of way and split it into edge segments ***/
|
/*** Store name of way and split it into edge segments ***/
|
||||||
|
|
||||||
if ( 0 < w.speed > 0 || 0 < w.duration ) { //Only true if the way is specified by the speed profile
|
if ( (0 < w.speed) || (0 < w.duration) ) { //Only true if the way is specified by the speed profile
|
||||||
//Get the unique identifier for the street name
|
//Get the unique identifier for the street name
|
||||||
const StringMap::const_iterator strit = stringMap->find(w.name);
|
const StringMap::const_iterator strit = stringMap->find(w.name);
|
||||||
if(strit == stringMap->end()) {
|
if(strit == stringMap->end()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user