From f1021ed70b032621cd5088b40c50e4eb71ed1846 Mon Sep 17 00:00:00 2001 From: Konstantin Pastbin Date: Fri, 28 Jul 2023 15:47:52 +0300 Subject: [PATCH] [drape] Fix kDynamicGlyphSize declaration Signed-off-by: Konstantin Pastbin --- drape/glyph_manager.cpp | 2 -- drape/glyph_manager.hpp | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/drape/glyph_manager.cpp b/drape/glyph_manager.cpp index c34d400d25..575a75d14f 100644 --- a/drape/glyph_manager.cpp +++ b/drape/glyph_manager.cpp @@ -344,8 +344,6 @@ struct UnicodeBlock using TUniBlocks = std::vector; using TUniBlockIter = TUniBlocks::const_iterator; -int constexpr GlyphManager::kDynamicGlyphSize = -1; - struct GlyphManager::Impl { FT_Library m_library; diff --git a/drape/glyph_manager.hpp b/drape/glyph_manager.hpp index f146aebaea..a3fb959a58 100644 --- a/drape/glyph_manager.hpp +++ b/drape/glyph_manager.hpp @@ -16,7 +16,7 @@ struct UnicodeBlock; class GlyphManager { public: - static const int kDynamicGlyphSize; + static int constexpr kDynamicGlyphSize = -1; struct Params {