File tree 3 files changed +5
-1
lines changed
3 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -27,7 +27,10 @@ private:
27
27
using Lock = std::unique_lock<std::mutex>;
28
28
29
29
const std::string log_prefix_{};
30
+
31
+ // NOLINTNEXTLINE (cppcoreguidelines-avoid-non-const-global-variables)
30
32
inline static std::mutex mutex_{};
33
+
31
34
Lock lock_{};
32
35
33
36
public:
Original file line number Diff line number Diff line change @@ -43,7 +43,7 @@ private:
43
43
std::thread thread_{};
44
44
log::NamedLogger log_;
45
45
46
- // NOLINTNEXTLINEecppcoreguidelines -avoid-non-const-global-variables)
46
+ // NOLINTNEXTLINE (cppcoreguidelines -avoid-non-const-global-variables)
47
47
static thread_local const Worker* current_worker;
48
48
49
49
void work () const ;
Original file line number Diff line number Diff line change 18
18
namespace reactor {
19
19
20
20
class PhysicalTimeBarrier {
21
+ // NOLINTNEXTLINE (cppcoreguidelines-avoid-non-const-global-variables)
21
22
inline static std::atomic<Duration > last_observed_physical_time_{Duration::zero ()};
22
23
23
24
public:
You can’t perform that action at this time.
0 commit comments