Skip to content

Commit 7b9486b

Browse files
committed
Remove unnecessary operator
1 parent 1224fbd commit 7b9486b

File tree

1 file changed

+0
-5
lines changed
  • simulation/traffic_simulator/include/traffic_simulator/traffic_lights

1 file changed

+0
-5
lines changed

simulation/traffic_simulator/include/traffic_simulator/traffic_lights/traffic_light.hpp

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -123,11 +123,6 @@ struct TrafficLight
123123

124124
constexpr operator Value() const noexcept { return value; }
125125

126-
friend constexpr auto operator<(const Status & lhs, const Status & rhs) -> bool
127-
{
128-
return lhs.value < rhs.value;
129-
}
130-
131126
friend auto operator>>(std::istream & is, Status & status) -> std::istream &;
132127

133128
friend auto operator<<(std::ostream & os, const Status & status) -> std::ostream &;

0 commit comments

Comments
 (0)