File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -173,15 +173,15 @@ public:
173173 Input (const std::string& name, Reactor* container)
174174 : Port<T>(name, PortType::Input, container) {}
175175
176- Input (Input&&) = default ;
176+ Input (Input&&) noexcept = default ;
177177};
178178
179179template <class T > class Output : public Port <T> { // NOLINT(cppcoreguidelines-special-member-functions)
180180public:
181181 Output (const std::string& name, Reactor* container)
182182 : Port<T>(name, PortType::Output, container) {}
183183
184- Output (Output&&) = default ;
184+ Output (Output&&) noexcept = default ;
185185};
186186
187187} // namespace reactor
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ private:
2323#else
2424 constexpr static bool enabled_{false };
2525#endif
26-
26+ // NOLINTBEGIN(cppcoreguidelines-avoid-non-const-global-variables)
2727 inline static std::atomic_size_t reactor_instances_{0 };
2828 inline static std::atomic_size_t connections_{0 };
2929 inline static std::atomic_size_t reactions_{0 };
@@ -34,6 +34,7 @@ private:
3434 inline static std::atomic_size_t triggered_actions_{0 };
3535 inline static std::atomic_size_t set_ports_{0 };
3636 inline static std::atomic_size_t scheduled_actions_{0 };
37+ // NOLINTEND(cppcoreguidelines-avoid-non-const-global-variables)
3738
3839 static void increment (std::atomic_size_t & counter) {
3940 if constexpr (enabled_) {
You can’t perform that action at this time.
0 commit comments