mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-08 02:26:10 +00:00
AK: Make HashTable with capacity constructor explicit
This commit is contained in:
parent
a8671ec166
commit
15b94ec1fd
Notes:
sideshowbarker
2024-07-18 20:32:17 +09:00
Author: https://github.com/bgianfo
Commit: 15b94ec1fd
Pull-request: https://github.com/SerenityOS/serenity/pull/6234
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