Commit e3051360 authored by Jakub Klinkovský's avatar Jakub Klinkovský
Browse files

Added explicit base class initialization to TNL::Atomic

parent bd7d8ee0
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -63,6 +63,7 @@ public:
   // this copy-constructor and copy-assignment operator are not atomic as they
   // synchronize only with respect to one or the other object.
   Atomic( const Atomic& desired ) noexcept
   : std::atomic< T >()
   {
      this->store(desired.load());
   }