From 6412a21cec51718ff65fb5644fd4b705c771e493 Mon Sep 17 00:00:00 2001 From: Jochen Topf Date: Thu, 21 Aug 2025 21:03:46 +0200 Subject: [PATCH] Fix according to our naming rules --- src/geom-boost-adaptor.hpp | 1 + src/progress-display.hpp | 8 ++++---- 2 files changed, 5 insertions(+), 4 deletions(-) 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; };