From 5ae8156fa346f3103a774c75010d73f90ac48d24 Mon Sep 17 00:00:00 2001 From: Osyotr Date: Sun, 27 Jul 2025 13:24:11 +0300 Subject: [PATCH] Fix std::atomic_flag initialization Signed-off-by: Osyotr --- libs/drape/texture_manager.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/drape/texture_manager.hpp b/libs/drape/texture_manager.hpp index db814abef..06a3ed24e 100644 --- a/libs/drape/texture_manager.hpp +++ b/libs/drape/texture_manager.hpp @@ -206,7 +206,7 @@ private: std::vector> m_texturesToCleanup; base::Timer m_uploadTimer; - std::atomic_flag m_nothingToUpload{false}; + std::atomic_flag m_nothingToUpload = ATOMIC_FLAG_INIT; std::mutex m_calcGlyphsMutex; // TODO(AB): Make a more robust use of BreakIterator to split strings and get rid of this space glyph.