1
0
Fork 0
mirror of https://github.com/ton-blockchain/ton synced 2025-03-09 15:40:10 +00:00

Fix linker error: undefined reference to LiteServerCacheImpl::MAX_CACHE_SIZE (#930)

Co-authored-by: EmelyanenkoK <emelyanenko.kirill@gmail.com>
This commit is contained in:
Marat 2024-03-19 13:24:15 +01:00 committed by GitHub
parent fc69377f9c
commit 69de1cb621
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -110,7 +110,7 @@ class LiteServerCacheImpl : public LiteServerCache {
std::set<td::Bits256> 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