mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-22 09:19:03 +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:
committed by
Jelle Raaijmakers
parent
182bb97479
commit
192ee4594c
@@ -356,7 +356,7 @@ public:
|
||||
{
|
||||
}
|
||||
|
||||
T volatile** ptr() noexcept
|
||||
T* volatile* ptr() noexcept
|
||||
{
|
||||
return &m_value;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user