Merge pull request #197 from ilobilo/master

remove unnecessary creation of std *_error objects
This commit is contained in:
Gregory Popovitch
2023-06-11 13:43:33 -04:00
committed by GitHub
+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) do { (void)(e); std::abort(); } while(0)
#define PHMAP_THROW_IMPL(...) std::abort()
#endif
} // namespace