Fixes issue #74, thanks DrVanScott.

This commit is contained in:
DennisOSRM 2012-02-01 17:36:28 +01:00
parent 7c41206c6d
commit b44e36e7ba

View File

@ -173,7 +173,6 @@ public:
w.direction = _Way::bidirectional;
} else if( oneway == "-1") {
w.direction = _Way::opposite;
std::reverse( w.path.begin(), w.path.end() );
}
else if( oneway == "yes" || oneway == "1" || oneway == "true" || onewayClass == "yes" || onewayClass == "1" || onewayClass == "true" || junction == "roundabout" || highway == "motorway_link" || highway == "motorway" ) {
w.direction = _Way::oneway;