From 07a333cada20c44a604a365ef97674b2a87e7047 Mon Sep 17 00:00:00 2001 From: Domagoj Saric Date: Tue, 17 Dec 2024 21:54:00 +0100 Subject: [PATCH] Apple: wrkrnd attempt for linker errors. --- src/containers/vm_vector.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/containers/vm_vector.cpp b/src/containers/vm_vector.cpp index f9ca5ef..d33251d 100644 --- a/src/containers/vm_vector.cpp +++ b/src/containers/vm_vector.cpp @@ -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