Fix unused variable warning (issue #194)

This commit is contained in:
greg7mdp
2023-05-17 10:32:47 -04:00
parent a93855202b
commit a68a9b50b0
+1 -1
View File
@@ -626,7 +626,7 @@ namespace {
#ifdef PHMAP_HAVE_EXCEPTIONS
#define PHMAP_THROW_IMPL(e) throw e
#else
#define PHMAP_THROW_IMPL(e) std::abort()
#define PHMAP_THROW_IMPL(e) do { (void)(e); std::abort(); } while(0)
#endif
} // namespace