[base] Fix warning about deprecated usage of atomic_store #9910

Open
Ferenc- wants to merge 1 commit from fix-deprecated-atomic-load into master

1 commit

Author SHA1 Message Date
Ferenc Géczi
ed317aa18e
[base] Fix warning about deprecated usage of atomic_store
Fixes the following gcc warnings:
````
base/atomic_shared_ptr.hpp:19:52: warning: ‘void std::atomic_store(shared_ptr<_Tp>*, shared_ptr<_Tp>)
[with _Tp = const editor::EditorConfig]’
is deprecated: use 'std::atomic<std::shared_ptr<T>>' instead [-Wdeprecated-declarations]
   19 |   void Set(ValueType value) noexcept { atomic_store(&m_wrapped, value); }
      |                                        ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~
````

Signed-off-by: Ferenc Géczi <ferenc.gm@gmail.com>
2025-01-01 00:00:00 +00:00