Skip to content

Commit f8f0189

Browse files
author
Julian LALU
committed
Improve hashmap
1 parent 4509c46 commit f8f0189

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

test/hashmap/hashmap_remove.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ namespace hud_test
77
{
88
using super = hud_test::non_bitwise_type;
99
using super::super;
10+
11+
constexpr ~collided_key() noexcept = default;
1012
};
1113
} // namespace hud_test
1214

test/misc/non_bitwise_type.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,7 @@ namespace hud_test
122122
}
123123

124124
/** Destroy the non_bitwise_type instance and set the boolean pointer value to true. */
125-
constexpr ~non_bitwise_type() noexcept
125+
virtual constexpr ~non_bitwise_type() noexcept
126126
{
127127
if (is_destructor_counter != nullptr)
128128
{

0 commit comments

Comments
 (0)