mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 01:47:35 +00:00
AK: Make HashTable with capacity constructor explicit
This commit is contained in:
parent
a8671ec166
commit
15b94ec1fd
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ class HashTable {
|
|||
|
||||
public:
|
||||
HashTable() = default;
|
||||
HashTable(size_t capacity) { rehash(capacity); }
|
||||
explicit HashTable(size_t capacity) { rehash(capacity); }
|
||||
|
||||
~HashTable()
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue