mirror of
https://github.com/SerenityOS/serenity
synced 2024-10-02 22:24:26 +00:00
AK: Fix volatile qualifier in Atomic<T*>::ptr()
It's the pointer that should be volatile, not the pointed-to object.
This commit is contained in:
parent
182bb97479
commit
192ee4594c
|
@ -356,7 +356,7 @@ public:
|
|||
{
|
||||
}
|
||||
|
||||
T volatile** ptr() noexcept
|
||||
T* volatile* ptr() noexcept
|
||||
{
|
||||
return &m_value;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue