diff --git a/conanfile.py b/conanfile.py index b22d2f6..68d36bc 100644 --- a/conanfile.py +++ b/conanfile.py @@ -32,7 +32,6 @@ class Recipe(ConanFile): def requirements(self): self.requires("metall/0.28", transitive_headers=True) - self.requires("boost/1.86.0", override=True) if self.options.with_test_deps: self.requires("doctest/2.4.11") diff --git a/src/dice/ffi/metall_internal.hpp b/src/dice/ffi/metall_internal.hpp index 2b3e395..c634871 100644 --- a/src/dice/ffi/metall_internal.hpp +++ b/src/dice/ffi/metall_internal.hpp @@ -17,11 +17,11 @@ namespace boost::interprocess::ipcdetail { */ inline void array_construct(void *mem, std::size_t num, in_place_interface &table) { //Try constructors - BOOST_TRY{ + BOOST_TRY { table.construct_n(mem, num); } //If there is an exception call destructors and erase index node - BOOST_CATCH(...){ + BOOST_CATCH(...) { table.destroy_n(mem, num); BOOST_RETHROW } BOOST_CATCH_END