From 2d0b499273ea02f7211ae2af705418c9509691fb Mon Sep 17 00:00:00 2001 From: greg7mdp Date: Wed, 30 Oct 2024 08:18:42 -0400 Subject: [PATCH] Fix msvc warning --- parallel_hashmap/phmap.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/parallel_hashmap/phmap.h b/parallel_hashmap/phmap.h index bac7d5c..2c18ab0 100644 --- a/parallel_hashmap/phmap.h +++ b/parallel_hashmap/phmap.h @@ -337,8 +337,9 @@ inline ctrl_t* EmptyGroup() { kEmpty, kEmpty, kEmpty, kEmpty, kEmpty, kEmpty, kEmpty, kEmpty}; return const_cast(empty_group); + } else { + return nullptr; } - return nullptr; } // --------------------------------------------------------------------------