mirror of
https://codeberg.org/comaps/comaps
synced 2025-12-20 13:23:59 +00:00
[core] Use constexpr when possible
Signed-off-by: x7z4w <x7z4w@noreply.codeberg.org>
This commit is contained in:
@@ -212,7 +212,7 @@ private:
|
||||
class BlockedTextStorageReader
|
||||
{
|
||||
public:
|
||||
inline static size_t const kDefaultCacheSize = 32;
|
||||
inline static size_t constexpr kDefaultCacheSize = 32;
|
||||
|
||||
BlockedTextStorageReader() : m_cache(kDefaultCacheSize) {}
|
||||
explicit BlockedTextStorageReader(size_t cacheSize) : m_cache(cacheSize) {}
|
||||
|
||||
Reference in New Issue
Block a user