From fcd11dfd4cdc79e6a6b445cc131ffa779673e71e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Henrik=20Rydg=C3=A5rd?= Date: Thu, 4 May 2023 09:34:36 +0200 Subject: [PATCH] Update a comment --- Common/Data/Collections/Hashmaps.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Common/Data/Collections/Hashmaps.h b/Common/Data/Collections/Hashmaps.h index ac6b06c9f11d..ca5de0540477 100644 --- a/Common/Data/Collections/Hashmaps.h +++ b/Common/Data/Collections/Hashmaps.h @@ -56,7 +56,7 @@ class DenseHashMap { return NullValue; } - // Returns false if we already had the key! Which is a bit different. + // Asserts if we already had the key! bool Insert(const Key &key, Value value) { // Check load factor, resize if necessary. We never shrink. if (count_ > capacity_ / 2) {