From 6e301e42b45777fd1bd259c6e5eded3a750330cf Mon Sep 17 00:00:00 2001 From: m3g4d1v3r Date: Thu, 26 May 2022 18:48:22 -0300 Subject: [PATCH] Fix sentinel variables usage in commit 76aedb2 --- include/cuco/static_multimap.cuh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/cuco/static_multimap.cuh b/include/cuco/static_multimap.cuh index 6de4d2c48..45cdef4d6 100644 --- a/include/cuco/static_multimap.cuh +++ b/include/cuco/static_multimap.cuh @@ -680,7 +680,7 @@ class static_multimap { std::size_t capacity, sentinel::empty_key empty_key_sentinel, sentinel::empty_value empty_value_sentinel) noexcept - : view_base_type{slots, capacity, empty_key_sentinel.value, empty_value_sentinel.value} + : view_base_type{slots, capacity, empty_key_sentinel, empty_value_sentinel} { } @@ -731,7 +731,7 @@ class static_multimap { std::size_t capacity, sentinel::empty_key empty_key_sentinel, sentinel::empty_value empty_value_sentinel) noexcept - : view_base_type{slots, capacity, empty_key_sentinel.value, empty_value_sentinel.value} + : view_base_type{slots, capacity, empty_key_sentinel, empty_value_sentinel} { }