Add file analysis action to send data to script-land in chosen events.

This commit is contained in:
Jon Siwek 2013-02-22 16:49:53 -06:00
parent 85410a7657
commit 4b30cc2e24
10 changed files with 134 additions and 17 deletions

View file

@ -185,7 +185,7 @@ bool Manager::RemoveFile(const FileID& file_id)
if ( it == id_map.end() ) return false;
if ( ! str_map.erase(it->second->Unique()) )
if ( ! str_map.erase(it->second->GetUnique()) )
reporter->Error("No string mapping for file ID %s", file_id.c_str());
delete it->second;
id_map.erase(it);