Skip to content

Commit

Permalink
Apple: wrkrnd attempt for linker errors.
Browse files Browse the repository at this point in the history
  • Loading branch information
psiha committed Dec 17, 2024
1 parent 3843eec commit 07a333c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/containers/vm_vector.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,9 @@ namespace detail
{
# if PSI_MALLOC_OVERCOMMIT == PSI_OVERCOMMIT_Full
BOOST_ASSERT_MSG( false, "Unexpected allocation failure" );
# ifndef __APPLE__ // quick-hack try around dubious linker errors
std::unreachable();
# endif
# else
throw std::bad_alloc();
# endif
Expand Down

0 comments on commit 07a333c

Please sign in to comment.