Don't allow throw() in destructors (#1182)
This commit is contained in:
parent
7c1edcc841
commit
ae91dbad8c
2 changed files with 0 additions and 4 deletions
|
@ -138,8 +138,6 @@ TLevelWriter3gp::~TLevelWriter3gp() {
|
|||
QString res;
|
||||
|
||||
stream << (msg << QString("$closeLW3gp") << m_id);
|
||||
if (tipc::readMessage(stream, msg) != "ok")
|
||||
throw TException("Unable to write file");
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------
|
||||
|
|
|
@ -206,8 +206,6 @@ TLevelWriterMov::~TLevelWriterMov() {
|
|||
QString res;
|
||||
|
||||
stream << (msg << QString("$closeLWMov") << m_id);
|
||||
if (tipc::readMessage(stream, msg) != "ok")
|
||||
throw TException("Unable to write file");
|
||||
}
|
||||
|
||||
//------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in a new issue