Skip to content

Commit

Permalink
Enable bad_alloc exception.
Browse files Browse the repository at this point in the history
  • Loading branch information
evoskuil committed Aug 3, 2024
1 parent e6cbbfc commit 95e7e3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/bitcoin/system/exceptions.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ using istream_exception = boost::program_options::invalid_option_value;
using ifstream_exception = boost::program_options::reading_file;

/// Allocation.
////using allocation_exception = std::bad_alloc;
using allocation_exception = std::bad_alloc;
using bad_array_new_length = std::bad_array_new_length;


Expand Down

0 comments on commit 95e7e3a

Please sign in to comment.