add comparator functor to the info maps of readerbackend and readerwriteend.

This is required, because after the recent changes the info map containst a
char* as key. Without the comparator the map will compare the char addresses
for all operations - which is not really what we want.
This commit is contained in:
Bernhard Amann 2012-07-24 09:19:20 -07:00
parent 3f21764d00
commit 13952154a1
3 changed files with 13 additions and 2 deletions

View file

@ -49,7 +49,7 @@ public:
struct WriterInfo
{
// Structure takes ownership of these strings.
typedef std::map<const char*, const char*> config_map;
typedef std::map<const char*, const char*, CompareString> config_map;
/**
* A string left to the interpretation of the writer