We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 03a1ff0 commit e7005b2Copy full SHA for e7005b2
src/dsm/headers/TrafficLight.hpp
@@ -49,7 +49,7 @@ namespace dsm {
49
void reset();
50
};
51
52
- class TrafficLight : public Intersection {
+ class TrafficLight final : public Intersection {
53
private:
54
std::unordered_map<Id, std::unordered_map<Direction, TrafficLightCycle>> m_cycles;
55
std::unordered_map<Id, std::unordered_map<Direction, TrafficLightCycle>>
@@ -154,6 +154,6 @@ namespace dsm {
154
/// @brief Resets all traffic light cycles
155
/// @details For more info, see @ref TrafficLightCycle::reset()
156
void resetCycles();
157
- inline bool isTrafficLight() const noexcept final { return true; }
+ inline bool isTrafficLight() const noexcept { return true; }
158
159
} // namespace dsm
0 commit comments