Skip to content

Commit e0df434

Browse files
committed
release prep for 0.9
1 parent df03ee5 commit e0df434

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

include/reactor-cpp/port.hh

+2-2
Original file line numberDiff line numberDiff 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

179179
template <class T> class Output : public Port<T> { // NOLINT(cppcoreguidelines-special-member-functions)
180180
public:
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

include/reactor-cpp/statistics.hh

+2-1
Original file line numberDiff line numberDiff 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_) {

0 commit comments

Comments
 (0)