From e79266d7e29083a09d11ca4d6f98be23e63c1218 Mon Sep 17 00:00:00 2001 From: lisyarus Date: Mon, 3 Jun 2024 14:36:09 +0300 Subject: [PATCH] Make util::hash_table::empty() const --- libs/util/include/psemek/util/hash_table.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/util/include/psemek/util/hash_table.hpp b/libs/util/include/psemek/util/hash_table.hpp index 1c975352..389723f6 100644 --- a/libs/util/include/psemek/util/hash_table.hpp +++ b/libs/util/include/psemek/util/hash_table.hpp @@ -519,7 +519,7 @@ namespace psemek::util impl_.clear(); } - bool empty() + bool empty() const { return impl_.size() == 0; } @@ -679,7 +679,7 @@ namespace psemek::util return impl_.size(); } - bool empty() + bool empty() const { return impl_.size() == 0; }