Fix amiguity in atomic load

operator _Tp() const volatile _NOEXCEPT {return load();}
operator _Tp() const _NOEXCEPT  {return load();}
This commit is contained in:
Robin Gareus 2023-03-25 00:06:19 +01:00
parent b18fe9f412
commit 8075b55919
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ public:
/* This just deletes the shared ptr, but of course this may
also be the last reference to the managed object.
*/
delete managed_object;
delete managed_object.load ();
}
std::shared_ptr<T> reader () const