mirror of
https://github.com/RGBCube/serenity
synced 2025-05-14 08:34:57 +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
1 changed files with 1 additions and 1 deletions
|
@ -356,7 +356,7 @@ public:
|
||||||
{
|
{
|
||||||
}
|
}
|
||||||
|
|
||||||
T volatile** ptr() noexcept
|
T* volatile* ptr() noexcept
|
||||||
{
|
{
|
||||||
return &m_value;
|
return &m_value;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue