diff --git a/include/util/guidance/turn_lanes.hpp b/include/util/guidance/turn_lanes.hpp index a4f9a7473..6a732679c 100644 --- a/include/util/guidance/turn_lanes.hpp +++ b/include/util/guidance/turn_lanes.hpp @@ -60,7 +60,6 @@ class LaneTupel bool operator==(const LaneTupel other) const; bool operator!=(const LaneTupel other) const; - bool operator<(const LaneTupel other) const; LaneID lanes_in_turn; LaneID first_lane_from_the_right; diff --git a/src/util/guidance/turn_lanes.cpp b/src/util/guidance/turn_lanes.cpp index cba73fdb1..c7c45a8ad 100644 --- a/src/util/guidance/turn_lanes.cpp +++ b/src/util/guidance/turn_lanes.cpp @@ -31,13 +31,6 @@ bool LaneTupel::operator==(const LaneTupel other) const bool LaneTupel::operator!=(const LaneTupel other) const { return !(*this == other); } -// comparation based on interpretation as unsigned 32bit integer -bool LaneTupel::operator<(const LaneTupel other) const -{ - return std::tie(lanes_in_turn, first_lane_from_the_right) < - std::tie(other.lanes_in_turn, other.first_lane_from_the_right); -} - } // namespace guidance } // namespace util } // namespace osrm