summaryrefslogtreecommitdiff
path: root/package/source
diff options
context:
space:
mode:
Diffstat (limited to 'package/source')
-rw-r--r--package/source/zipapi/ZipFile.cxx3
1 files changed, 1 insertions, 2 deletions
diff --git a/package/source/zipapi/ZipFile.cxx b/package/source/zipapi/ZipFile.cxx
index 24bcab959960..f37f38c03e62 100644
--- a/package/source/zipapi/ZipFile.cxx
+++ b/package/source/zipapi/ZipFile.cxx
@@ -1065,8 +1065,7 @@ void ZipFile::recover()
aEntry.nSize = 0;
}
- if ( aEntries.find( aEntry.sPath ) == aEntries.end() )
- aEntries[aEntry.sPath] = aEntry;
+ aEntries.emplace( aEntry.sPath, aEntry );
}
}
}