Skip to content

Commit

Permalink
Inherit Atomic#operator=() from base class
Browse files Browse the repository at this point in the history
  • Loading branch information
Al2Klimov committed Nov 6, 2024
1 parent 7df6baf commit 48c27cc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/base/atomic.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ namespace icinga
template<class T>
class Atomic : public std::atomic<T> {
public:
using std::atomic<T>::operator=;

/**
* Like std::atomic#atomic, but operates atomically
*
Expand Down

0 comments on commit 48c27cc

Please sign in to comment.