forked from boostorg/core
Revert to always using std::abort instead of the platform-specific _exit/_Exit
This commit is contained in:
1 parent
56bd3784bf
commit
8d4f1bb4af
1 file changed
-7
@@ -55,14 +55,7 @@ public:
|
||||
~test_result() {
|
||||
if (!report_) {
|
||||
BOOST_LIGHTWEIGHT_TEST_OSTREAM << "main() should return report_errors()" << std::endl;
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
::_exit( 3 );
|
||||
#elif defined(__MINGW32__) && !defined(__MINGW64_VERSION_MAJOR)
|
||||
std::abort();
|
||||
#else
|
||||
::_Exit( 3 );
|
||||
#endif
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user