Skip to content

Commit

Permalink
Merge pull request greg7mdp#197 from ilobilo/master
Browse files Browse the repository at this point in the history
remove unnecessary creation of std *_error objects
  • Loading branch information
greg7mdp authored Jun 11, 2023
2 parents 714d70b + b54ef01 commit 79cbd2d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parallel_hashmap/phmap_base.h
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 79cbd2d

Please sign in to comment.