Commit e0df434 1 parent df03ee5 commit e0df434 Copy full SHA for e0df434
File tree 2 files changed +4
-3
lines changed
2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -173,15 +173,15 @@ public:
173
173
Input (const std::string& name, Reactor* container)
174
174
: Port<T>(name, PortType::Input, container) {}
175
175
176
- Input (Input&&) = default ;
176
+ Input (Input&&) noexcept = default ;
177
177
};
178
178
179
179
template <class T > class Output : public Port <T> { // NOLINT(cppcoreguidelines-special-member-functions)
180
180
public:
181
181
Output (const std::string& name, Reactor* container)
182
182
: Port<T>(name, PortType::Output, container) {}
183
183
184
- Output (Output&&) = default ;
184
+ Output (Output&&) noexcept = default ;
185
185
};
186
186
187
187
} // namespace reactor
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ private:
23
23
#else
24
24
constexpr static bool enabled_{false };
25
25
#endif
26
-
26
+ // NOLINTBEGIN(cppcoreguidelines-avoid-non-const-global-variables)
27
27
inline static std::atomic_size_t reactor_instances_{0 };
28
28
inline static std::atomic_size_t connections_{0 };
29
29
inline static std::atomic_size_t reactions_{0 };
@@ -34,6 +34,7 @@ private:
34
34
inline static std::atomic_size_t triggered_actions_{0 };
35
35
inline static std::atomic_size_t set_ports_{0 };
36
36
inline static std::atomic_size_t scheduled_actions_{0 };
37
+ // NOLINTEND(cppcoreguidelines-avoid-non-const-global-variables)
37
38
38
39
static void increment (std::atomic_size_t & counter) {
39
40
if constexpr (enabled_) {
You can’t perform that action at this time.
0 commit comments