Fix std::atomic_flag initialization

Signed-off-by: Osyotr <Osyotr@users.noreply.github.com>
This commit is contained in:
Osyotr
2025-07-27 13:24:11 +03:00
committed by Konstantin Pastbin
parent b107638b8b
commit 5ae8156fa3

View File

@@ -206,7 +206,7 @@ private:
std::vector<drape_ptr<HWTexture>> m_texturesToCleanup; std::vector<drape_ptr<HWTexture>> m_texturesToCleanup;
base::Timer m_uploadTimer; base::Timer m_uploadTimer;
std::atomic_flag m_nothingToUpload{false}; std::atomic_flag m_nothingToUpload = ATOMIC_FLAG_INIT;
std::mutex m_calcGlyphsMutex; std::mutex m_calcGlyphsMutex;
// TODO(AB): Make a more robust use of BreakIterator to split strings and get rid of this space glyph. // TODO(AB): Make a more robust use of BreakIterator to split strings and get rid of this space glyph.