Skip to content

Commit

Permalink
revert some things
Browse files Browse the repository at this point in the history
  • Loading branch information
liss-h committed Oct 2, 2024
1 parent 5f8cbc8 commit b18ce1d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
1 change: 0 additions & 1 deletion conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -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")
Expand Down
4 changes: 2 additions & 2 deletions src/dice/ffi/metall_internal.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b18ce1d

Please sign in to comment.