summaryrefslogtreecommitdiff
path: root/configmgr/source/config_map.hxx
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-10-20 13:38:12 +0200
committerStephan Bergmann <sbergman@redhat.com>2014-10-20 13:42:30 +0200
commit9df18fd92c0eb3153576f60b4b95a8cf96469eef (patch)
tree2e6946b98e5562915f480851b6cd01bd9c857776 /configmgr/source/config_map.hxx
parent3bb30a68e0604b3006f367fdb4c0a797846c23bc (diff)
Revert "fdo#75757: remove inheritance to std::map"
This reverts commit a2deca9d755710bd543fd0caaea0352ac746396d: config_map had been introduced on purpose with bfb978334cea775b8ae5c40ceea050ea0660d80a "configmgr: faster / simpler compare for keys." Change-Id: I3ae0edc4d23977c6537bd2f462f90a702266de6d
Diffstat (limited to 'configmgr/source/config_map.hxx')
-rw-r--r--configmgr/source/config_map.hxx3
1 files changed, 3 insertions, 0 deletions
diff --git a/configmgr/source/config_map.hxx b/configmgr/source/config_map.hxx
index 943d409a1287..0e9f614bb5cd 100644
--- a/configmgr/source/config_map.hxx
+++ b/configmgr/source/config_map.hxx
@@ -9,6 +9,7 @@
#ifndef CONFIG_MAP_HXX
#define CONFIG_MAP_HXX
+#include <map>
#include <rtl/ustring.hxx>
// The realisation here is that while a map is a reasonably compact
@@ -27,6 +28,8 @@ struct LengthContentsCompare
}
};
+template< class T > struct config_map : public std::map< OUString, T, LengthContentsCompare > { };
+
#endif // CONFIG_MAP_HXX
/* vim:set shiftwidth=4 softtabstop=4 expandtab: */