Skip to content

Commit

Permalink
Fix assert in overflow_allocator_test
Browse files Browse the repository at this point in the history
  • Loading branch information
KredeGC committed Dec 8, 2022
1 parent fd4e61c commit c76d5d6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/test/overflow_allocator_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ namespace ktl::test::overflow_allocator

KTL_ADD_TEST(test_overflow_pre_unordered_map_string_double)
{
using Alloc = type_overflow_allocator<double, pre_allocator<4096>, stringOut>;
using Alloc = type_overflow_allocator<std::pair<const std::string, double>, pre_allocator<4096>, stringOut>;

assert_no_overflow([]()
{
Expand All @@ -81,7 +81,7 @@ namespace ktl::test::overflow_allocator

KTL_ADD_TEST(test_overflow_pre_unordered_map_string_complex)
{
using Alloc = type_overflow_allocator<complex_t, pre_allocator<4096>, stringOut>;
using Alloc = type_overflow_allocator<std::pair<const std::string, complex_t>, pre_allocator<4096>, stringOut>;

assert_no_overflow([]()
{
Expand Down

0 comments on commit c76d5d6

Please sign in to comment.