fix some compiler warnings

This commit is contained in:
wmayer
2019-05-26 14:35:09 +02:00
parent a78cdce94e
commit 3fa43e8b9c
3 changed files with 5 additions and 4 deletions

View File

@@ -45,8 +45,9 @@ MED::PrefixPrinter::~PrefixPrinter()
{
if(myIsActive){
myCounter--;
if(myCounter < 0)
EXCEPTION(runtime_error,"PrefixPrinter::~PrefixPrinter() - myCounter("<<myCounter<<") < 0");
//Do not throw exceptions from inside destructors
//if(myCounter < 0)
// EXCEPTION(runtime_error,"PrefixPrinter::~PrefixPrinter() - myCounter("<<myCounter<<") < 0");
}
}