From 15b94ec1fddf92c6b9148545557914a654378f5a Mon Sep 17 00:00:00 2001 From: Brian Gianforcaro Date: Sun, 11 Apr 2021 01:24:35 -0700 Subject: [PATCH] AK: Make HashTable with capacity constructor explicit --- AK/HashTable.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AK/HashTable.h b/AK/HashTable.h index 81d930d0b2..6af8dff5a3 100644 --- a/AK/HashTable.h +++ b/AK/HashTable.h @@ -87,7 +87,7 @@ class HashTable { public: HashTable() = default; - HashTable(size_t capacity) { rehash(capacity); } + explicit HashTable(size_t capacity) { rehash(capacity); } ~HashTable() {