mirror of
https://github.com/ClickHouse/ClickHouse.git
synced 2024-09-29 05:00:47 +00:00
Update FixedHashTable.h
This commit is contained in:
parent
f1363403b7
commit
7d8eec5652
@ -55,7 +55,7 @@ struct FixedHashTableStoredSize
|
|||||||
size_t m_size = 0;
|
size_t m_size = 0;
|
||||||
|
|
||||||
size_t getSize(const Cell *, const typename Cell::State &, size_t) const { return m_size; }
|
size_t getSize(const Cell *, const typename Cell::State &, size_t) const { return m_size; }
|
||||||
bool isEmpty(const Cell *, const typename Cell::State &, size_t) const { return m_size != 0; }
|
bool isEmpty(const Cell *, const typename Cell::State &, size_t) const { return m_size == 0; }
|
||||||
|
|
||||||
void increaseSize() { ++m_size; }
|
void increaseSize() { ++m_size; }
|
||||||
void clearSize() { m_size = 0; }
|
void clearSize() { m_size = 0; }
|
||||||
|
Loading…
Reference in New Issue
Block a user