Fix amiguity in atomic load
operator _Tp() const volatile _NOEXCEPT {return load();} operator _Tp() const _NOEXCEPT {return load();}
This commit is contained in:
parent
b18fe9f412
commit
8075b55919
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user