From 7d8eec5652c5f49aa77d9f5f5cd49795f05b6f56 Mon Sep 17 00:00:00 2001 From: alexey-milovidov Date: Wed, 29 Jul 2020 14:43:01 +0300 Subject: [PATCH] Update FixedHashTable.h --- src/Common/HashTable/FixedHashTable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Common/HashTable/FixedHashTable.h b/src/Common/HashTable/FixedHashTable.h index 7da71c0e56e..33aa1ce510f 100644 --- a/src/Common/HashTable/FixedHashTable.h +++ b/src/Common/HashTable/FixedHashTable.h @@ -55,7 +55,7 @@ struct FixedHashTableStoredSize size_t m_size = 0; 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 clearSize() { m_size = 0; }