Commit 7434135c authored by Hossain Mahmud's avatar Hossain Mahmud
Browse files

map iterator fix

parent ce99305d
......@@ -66,7 +66,7 @@ namespace campvis {
for(std::map<AbstractImageReader*, MetaProperty*>::iterator it = this->_readers.begin(); it != this->_readers.end(); it++) {
if (nullptr != it->first) delete it->first;
if (nullptr != it->second) delete it->second;
this->_readers.erase(it);
// this->_readers.erase(it);
}
}
void GenericImageReader::process(DataContainer& data) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment