fix scan coverity issues: uncaught exception

This commit is contained in:
wmayer
2017-04-11 14:03:08 +02:00
parent 292fdebe49
commit 004324bbc5
16 changed files with 140 additions and 99 deletions

View File

@@ -26,6 +26,7 @@
#include "PreCompiled.h"
#ifndef _PreComp_
# include <iostream>
# include <assert.h>
#endif
@@ -47,7 +48,7 @@ Handled::Handled()
Handled::~Handled()
{
if ((int)(*_lRefCount) != 0)
throw Exception("Reference counter of deleted object is not zero!!!!!\n");
std::cerr << "Reference counter of deleted object is not zero!!!!!" << std::endl;
delete _lRefCount;
}