Skip to content

Commit

Permalink
Fix linker error: undefined reference to LiteServerCacheImpl::MAX_CAC…
Browse files Browse the repository at this point in the history
…HE_SIZE
  • Loading branch information
dungeon-master-666 authored Mar 11, 2024
1 parent 200508c commit 24130c3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion validator/impl/liteserver-cache.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 24130c3

Please sign in to comment.