From 6ec084bfbc972461f2a0474548d02e593b3dac38 Mon Sep 17 00:00:00 2001 From: guido Date: Mon, 8 Dec 2003 15:00:10 +0000 Subject: [PATCH] n_treated_exceptions made global to be able to manipulate minor bug fixed after incrementing n_treated_exceptions git-svn-id: https://svn.dealii.org/trunk@8245 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/base/source/exceptions.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/deal.II/base/source/exceptions.cc b/deal.II/base/source/exceptions.cc index cd706d3c06..f4537fc30a 100644 --- a/deal.II/base/source/exceptions.cc +++ b/deal.II/base/source/exceptions.cc @@ -174,7 +174,7 @@ namespace deal_II_exceptions * displayed if the value is * zero. */ - static unsigned int n_treated_exceptions; + unsigned int n_treated_exceptions; void issue_error_assert (const char *file, @@ -241,7 +241,7 @@ namespace deal_II_exceptions if (std::uncaught_exception() == true) { // only display message once - if (n_treated_exceptions == 0) + if (n_treated_exceptions <= 1) std::cerr << "******** Program is not aborted since another exception is active! ********" << std::endl; } -- 2.39.5