1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 02:47:35 +00:00

AK: Make HashTable with capacity constructor explicit

This commit is contained in:
Brian Gianforcaro 2021-04-11 01:24:35 -07:00 committed by Andreas Kling
parent a8671ec166
commit 15b94ec1fd

View file

@ -87,7 +87,7 @@ class HashTable {
public:
HashTable() = default;
HashTable(size_t capacity) { rehash(capacity); }
explicit HashTable(size_t capacity) { rehash(capacity); }
~HashTable()
{