Skip to content
Snippets Groups Projects
Commit 0fde3d1f authored by Christoph Rettinger's avatar Christoph Rettinger
Browse files

Removed boost exception

parent 8d96ddd2
Branches
Tags
No related merge requests found
......@@ -24,7 +24,6 @@
#include "MPIManager.h"
#include "core/logging/Logging.h"
#include <boost/exception_ptr.hpp>
#include <exception>
#include <iostream>
#include <stdexcept>
......@@ -57,8 +56,8 @@ static void customTerminateHandler()
// i.e. in cases when this hack does not work, we just cannot print the message
// otherwise we re-throw the exception to get the type, and print exception.what()
try {
if(boost::current_exception() )
boost::rethrow_exception(boost::current_exception());
if(std::current_exception() )
std::rethrow_exception(std::current_exception());
} catch (std::exception const & exc) {
std::cerr << exc.what() << std::endl;
}
......
......@@ -27,7 +27,6 @@
#include "core/logging/Logging.h"
#include <boost/algorithm/string.hpp>
#include <boost/exception/all.hpp>
#include <exception>
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment