summaryrefslogtreecommitdiff
path: root/l10ntools
diff options
context:
space:
mode:
authorCaolán McNamara <caolanm@redhat.com>2015-01-02 13:43:53 +0000
committerCaolán McNamara <caolanm@redhat.com>2015-01-02 16:14:36 +0000
commit4cf326dd43cb7a39deae02a475423b161cd589c4 (patch)
tree11a0e49046d228747fd6a261f661f6fec8bd5e00 /l10ntools
parentfd1372ba8b1c3eb3c7fad6d9c623176c8071f31b (diff)
attempt to compare a singular iterator to a singular iterator
falls over during build with debug stl Change-Id: Id7241e1275067f827e4a663eb901c41e4c9873f5
Diffstat (limited to 'l10ntools')
-rw-r--r--l10ntools/inc/export.hxx15
1 files changed, 12 insertions, 3 deletions
diff --git a/l10ntools/inc/export.hxx b/l10ntools/inc/export.hxx
index f625b30a1ac8..28b678bc8691 100644
--- a/l10ntools/inc/export.hxx
+++ b/l10ntools/inc/export.hxx
@@ -250,8 +250,17 @@ class MergeDataHashMap
typedef std::unordered_map<OString, MergeData*, OStringHash> HashMap_t;
public:
- MergeDataHashMap():bFirstSearch(true){};
- ~MergeDataHashMap(){};
+ MergeDataHashMap()
+ : bFirstSearch(true)
+ , aLastInsertion(m_aHashMap.end())
+ , aLastFound(m_aHashMap.end())
+ , aFirstInOrder(m_aHashMap.end())
+ {
+ }
+
+ ~MergeDataHashMap()
+ {
+ }
typedef HashMap_t::iterator iterator;
typedef HashMap_t::const_iterator const_iterator;
@@ -267,10 +276,10 @@ class MergeDataHashMap
private:
bool bFirstSearch;
+ HashMap_t m_aHashMap;
iterator aLastInsertion;
iterator aLastFound;
iterator aFirstInOrder;
- HashMap_t m_aHashMap;
};