Skip to content

Commit

Permalink
release prep for 0.9
Browse files Browse the repository at this point in the history
  • Loading branch information
tanneberger committed Oct 31, 2024
1 parent df03ee5 commit e0df434
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions include/reactor-cpp/port.hh
Original file line number Diff line number Diff line change
Expand Up @@ -173,15 +173,15 @@ public:
Input(const std::string& name, Reactor* container)
: Port<T>(name, PortType::Input, container) {}

Input(Input&&) = default;
Input(Input&&) noexcept = default;
};

template <class T> class Output : public Port<T> { // NOLINT(cppcoreguidelines-special-member-functions)
public:
Output(const std::string& name, Reactor* container)
: Port<T>(name, PortType::Output, container) {}

Output(Output&&) = default;
Output(Output&&) noexcept = default;
};

} // namespace reactor
Expand Down
3 changes: 2 additions & 1 deletion include/reactor-cpp/statistics.hh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ private:
#else
constexpr static bool enabled_{false};
#endif

// NOLINTBEGIN(cppcoreguidelines-avoid-non-const-global-variables)
inline static std::atomic_size_t reactor_instances_{0};
inline static std::atomic_size_t connections_{0};
inline static std::atomic_size_t reactions_{0};
Expand All @@ -34,6 +34,7 @@ private:
inline static std::atomic_size_t triggered_actions_{0};
inline static std::atomic_size_t set_ports_{0};
inline static std::atomic_size_t scheduled_actions_{0};
// NOLINTEND(cppcoreguidelines-avoid-non-const-global-variables)

static void increment(std::atomic_size_t& counter) {
if constexpr (enabled_) {
Expand Down

0 comments on commit e0df434

Please sign in to comment.