From daefeb2d16452c815e64687827cb0341f73d6e23 Mon Sep 17 00:00:00 2001 From: Stephane Del Pino <stephane.delpino44@gmail.com> Date: Fri, 8 Feb 2019 19:05:35 +0100 Subject: [PATCH] Replace std::exit by std::terminate to ease debugging --- src/mesh/ConnectivityComputer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/mesh/ConnectivityComputer.cpp b/src/mesh/ConnectivityComputer.cpp index d6a77b13e..0dfc1de04 100644 --- a/src/mesh/ConnectivityComputer.cpp +++ b/src/mesh/ConnectivityComputer.cpp @@ -24,7 +24,7 @@ computeConnectivityMatrix(const ConnectivityType& connectivity, } else { perr() << "unable to compute connectivity " << itemName(item_type) << " -> " << itemName(child_item_type) << '\n'; - std::exit(0); + std::terminate(); } return item_to_child_item_matrix; -- GitLab