Skip to content

Commit 8222732

Browse files
committed
Fix msvc warning.
1 parent 654bc27 commit 8222732

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

include/gtl/phmap.hpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -826,8 +826,9 @@ inline ctrl_t* EmptyGroup() {
826826
kEmpty, kEmpty, kEmpty, kEmpty, kEmpty, kEmpty,
827827
kEmpty, kEmpty, kEmpty, kEmpty };
828828
return const_cast<ctrl_t*>(empty_group);
829+
} else {
830+
return nullptr;
829831
}
830-
return nullptr;
831832
}
832833

833834
// --------------------------------------------------------------------------

0 commit comments

Comments
 (0)