diff --git a/validator/impl/liteserver-cache.hpp b/validator/impl/liteserver-cache.hpp index 5318371f..20beca91 100644 --- a/validator/impl/liteserver-cache.hpp +++ b/validator/impl/liteserver-cache.hpp @@ -110,7 +110,7 @@ class LiteServerCacheImpl : public LiteServerCache { std::set send_message_cache_; size_t send_message_error_cnt_ = 0; - static const size_t MAX_CACHE_SIZE = 64 << 20; + static constexpr size_t MAX_CACHE_SIZE = 64 << 20; }; } // namespace ton::validator