forked from mirror/openmw-tes3mp
fixed a mixup in CSMTools::Tools constructor/destructor
This commit is contained in:
parent
492620c8cf
commit
a30d816982
1 changed files with 3 additions and 2 deletions
|
@ -87,13 +87,14 @@ CSMDoc::Operation *CSMTools::Tools::getVerifier()
|
|||
|
||||
CSMTools::Tools::Tools (CSMWorld::Data& data) : mData (data), mVerifier (0), mNextReportNumber (0)
|
||||
{
|
||||
for (std::map<int, ReportModel *>::iterator iter (mReports.begin()); iter!=mReports.end(); ++iter)
|
||||
delete iter->second;
|
||||
}
|
||||
|
||||
CSMTools::Tools::~Tools()
|
||||
{
|
||||
delete mVerifier;
|
||||
|
||||
for (std::map<int, ReportModel *>::iterator iter (mReports.begin()); iter!=mReports.end(); ++iter)
|
||||
delete iter->second;
|
||||
}
|
||||
|
||||
CSMWorld::UniversalId CSMTools::Tools::runVerifier()
|
||||
|
|
Loading…
Reference in a new issue