diff --git a/src/geom-boost-adaptor.hpp b/src/geom-boost-adaptor.hpp index 62f882f01..2ae4104c1 100644 --- a/src/geom-boost-adaptor.hpp +++ b/src/geom-boost-adaptor.hpp @@ -35,6 +35,7 @@ namespace boost::geometry::traits { template <> struct point_order<::geom::ring_t> { + // NOLINTNEXTLINE(readability-identifier-naming) - not in our namespace static order_selector const value = counterclockwise; }; diff --git a/src/progress-display.hpp b/src/progress-display.hpp index 29ceb37de..0efbbe5f0 100644 --- a/src/progress-display.hpp +++ b/src/progress-display.hpp @@ -28,7 +28,7 @@ */ class progress_display_t : public osmium::handler::Handler { - struct Counter + struct counter_t { std::size_t count = 0; std::time_t start = 0; @@ -79,9 +79,9 @@ class progress_display_t : public osmium::handler::Handler uint64_t rels_time(std::time_t now) const noexcept; uint64_t overall_time(std::time_t now) const noexcept; - Counter m_node{}; - Counter m_way{}; - Counter m_rel{}; + counter_t m_node{}; + counter_t m_way{}; + counter_t m_rel{}; std::time_t m_last_print_time{std::time(nullptr)}; bool m_enabled; };