diff options
Diffstat (limited to 'src/utils/datastor/datastor.cpp')
-rw-r--r-- | src/utils/datastor/datastor.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/utils/datastor/datastor.cpp b/src/utils/datastor/datastor.cpp index b3f00ac6c..49e7b2dda 100644 --- a/src/utils/datastor/datastor.cpp +++ b/src/utils/datastor/datastor.cpp @@ -53,7 +53,13 @@ Data_Store::search_with(const Matcher& matcher) const while(i != contents.end()) { if(matcher(i->first, i->second)) - out.insert(matcher.transform(i->first, i->second)); + { + std::pair<std::string, std::string> p( + matcher.transform(i->first, i->second)); + + multimap_insert(out, p.first, p.second); + } + ++i; } |