summaryrefslogtreecommitdiff
path: root/package/inc/HashMaps.hxx
diff options
context:
space:
mode:
Diffstat (limited to 'package/inc/HashMaps.hxx')
-rw-r--r--package/inc/HashMaps.hxx21
1 files changed, 3 insertions, 18 deletions
diff --git a/package/inc/HashMaps.hxx b/package/inc/HashMaps.hxx
index e83a9483524f..f10760f62517 100644
--- a/package/inc/HashMaps.hxx
+++ b/package/inc/HashMaps.hxx
@@ -25,32 +25,17 @@
#include <memory>
-struct eqFunc
-{
- bool operator()( const OUString &r1,
- const OUString &r2) const
- {
- return r1 == r2;
- }
-};
-
class ZipPackageFolder;
struct ZipContentInfo;
typedef std::unordered_map < OUString,
- ZipPackageFolder *,
- OUStringHash,
- eqFunc > FolderHash;
+ ZipPackageFolder * > FolderHash;
typedef std::unordered_map < OUString,
- std::unique_ptr<ZipContentInfo>,
- OUStringHash,
- eqFunc > ContentHash;
+ std::unique_ptr<ZipContentInfo> > ContentHash;
typedef std::unordered_map < OUString,
- ZipEntry,
- OUStringHash,
- eqFunc > EntryHash;
+ ZipEntry > EntryHash;
#endif