mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-19 21:13:35 +00:00
Fix std::atomic_flag initialization
Signed-off-by: Osyotr <Osyotr@users.noreply.github.com>
This commit is contained in:
committed by
Konstantin Pastbin
parent
b107638b8b
commit
5ae8156fa3
@@ -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.
|
||||||
|
|||||||
Reference in New Issue
Block a user