Don't allow throw() in destructors (#1182)

This commit is contained in:
Peter-Levine 2017-05-31 04:49:36 -04:00 committed by shun-iwasawa
parent 7c1edcc841
commit ae91dbad8c
2 changed files with 0 additions and 4 deletions

View file

@ -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");
}
//------------------------------------------------------------------

View 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");
}
//------------------------------------------------------------------