File tree Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Expand file tree Collapse file tree 3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,10 @@ private:
2727 using Lock = std::unique_lock<std::mutex>;
2828
2929 const std::string log_prefix_{};
30+
31+ // NOLINTNEXTLINE (cppcoreguidelines-avoid-non-const-global-variables)
3032 inline static std::mutex mutex_{};
33+
3134 Lock lock_{};
3235
3336public:
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ private:
4343 std::thread thread_{};
4444 log::NamedLogger log_;
4545
46- // NOLINTNEXTLINEecppcoreguidelines -avoid-non-const-global-variables)
46+ // NOLINTNEXTLINE (cppcoreguidelines -avoid-non-const-global-variables)
4747 static thread_local const Worker* current_worker;
4848
4949 void work () const ;
Original file line number Diff line number Diff line change 1818namespace reactor {
1919
2020class PhysicalTimeBarrier {
21+ // NOLINTNEXTLINE (cppcoreguidelines-avoid-non-const-global-variables)
2122 inline static std::atomic<Duration> last_observed_physical_time_{Duration::zero ()};
2223
2324public:
You can’t perform that action at this time.
0 commit comments