@@ -29,7 +29,7 @@ BitSet::BitSet(std::size_t nPop, bool val) :
2929 catch (...) {
3030 LOG_ERROR (" Error during construction - BitSet::BitSet" );
3131 LOG_ERROR (" exiting..." );
32- std::exit (EXIT_FAILURE );
32+ std::abort ( );
3333 }
3434
3535 // trim last bitblock to ZERO if val = TRUE
@@ -59,7 +59,7 @@ BitSet::BitSet(const vint& v):
5959 catch (...) {
6060 LOG_ERROR (" Error during construction - BitSet::BitSet()" );
6161 LOG_ERROR (" exiting..." );
62- std::exit (EXIT_FAILURE );
62+ std::abort ( );
6363 }
6464}
6565
@@ -85,7 +85,7 @@ BitSet::BitSet(std::size_t nPop, std::initializer_list<int> l):
8585 catch (...) {
8686 LOG_ERROR (" Error during construction - BitSet::BitSet()" );
8787 LOG_ERROR (" exiting..." );
88- std::exit (EXIT_FAILURE );
88+ std::abort ( );
8989 }
9090}
9191
@@ -98,7 +98,7 @@ void BitSet::init(std::size_t nPop) noexcept {
9898 catch (...) {
9999 LOG_ERROR (" Error during allocation - BitSet::init" );
100100 LOG_ERROR (" exiting..." );
101- std::exit (EXIT_FAILURE );
101+ std::abort ( );
102102 }
103103
104104}
@@ -124,7 +124,7 @@ void BitSet::init(std::size_t nPop, const vint& lv) noexcept {
124124 catch (...) {
125125 LOG_ERROR (" Error during allocation - BitSet::init" );
126126 LOG_ERROR (" exiting..." );
127- std::exit (EXIT_FAILURE );
127+ std::abort ( );
128128 }
129129}
130130
@@ -137,7 +137,7 @@ void BitSet::reset(std::size_t nPop) noexcept {
137137 catch (...) {
138138 LOG_ERROR (" Error during allocation - BitSet::reset" );
139139 LOG_ERROR (" exiting..." );
140- std::exit (EXIT_FAILURE );
140+ std::abort ( );
141141 }
142142
143143}
@@ -162,7 +162,7 @@ void BitSet::reset(std::size_t nPop, const vint& lv) noexcept {
162162 catch (...) {
163163 LOG_ERROR (" Error during allocation - BitSet::reset" );
164164 LOG_ERROR (" exiting..." );
165- std::exit (EXIT_FAILURE );
165+ std::abort ( );
166166 }
167167}
168168
0 commit comments