mirror of
https://github.com/greg7mdp/parallel-hashmap.git
synced 2026-08-31 01:20:40 +08:00
Fix nvcc warning about missing return statement (#235)
This commit is contained in:
Vendored
+9
@@ -650,6 +650,15 @@
|
||||
#define PHMAP_IF_CONSTEXPR(expr) if ((expr))
|
||||
#endif
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// builtin unreachable
|
||||
// ----------------------------------------------------------------------
|
||||
#if PHMAP_HAVE_BUILTIN(__builtin_unreachable)
|
||||
#define PHMAP_BUILTIN_UNREACHABLE() __builtin_unreachable()
|
||||
#else
|
||||
#define PHMAP_BUILTIN_UNREACHABLE() (void)0
|
||||
#endif
|
||||
|
||||
// ----------------------------------------------------------------------
|
||||
// base/macros.h
|
||||
// ----------------------------------------------------------------------
|
||||
|
||||
Reference in New Issue
Block a user