diff options
author | Michael Stahl <mstahl@redhat.com> | 2012-06-05 23:37:15 +0200 |
---|---|---|
committer | Michael Stahl <mstahl@redhat.com> | 2012-06-05 23:40:04 +0200 |
commit | 33839f90e6f8275a584b483827585a6da05aab75 (patch) | |
tree | 060225985a9082c8bd9289275d072c76f1812ec0 /ucb/source/inc | |
parent | 870b8a32641036d46cc381ce83d66022daf0d9f5 (diff) |
ucb: try to fix weird STL assertion on tinderbox
Seems there's uninitialized iterators somewhere, let's try if removing
the silly default constructor here improves anything.
Change-Id: I2ba239df9b532805e177378f9fa35023d087716a
Diffstat (limited to 'ucb/source/inc')
-rw-r--r-- | ucb/source/inc/regexpmap.hxx | 2 | ||||
-rw-r--r-- | ucb/source/inc/regexpmap.tpt | 14 |
2 files changed, 2 insertions, 14 deletions
diff --git a/ucb/source/inc/regexpmap.hxx b/ucb/source/inc/regexpmap.hxx index 717a077a9e0f..e02363362a60 100644 --- a/ucb/source/inc/regexpmap.hxx +++ b/ucb/source/inc/regexpmap.hxx @@ -101,8 +101,6 @@ class RegexpMapIter: public RegexpMapConstIter< Val > friend class RegexpMap< Val >; // to access ctor public: - RegexpMapIter() {} - RegexpMapIter & operator ++(); RegexpMapIter operator ++(int); diff --git a/ucb/source/inc/regexpmap.tpt b/ucb/source/inc/regexpmap.tpt index 4fe69a66fadb..0090029a8a6f 100644 --- a/ucb/source/inc/regexpmap.tpt +++ b/ucb/source/inc/regexpmap.tpt @@ -74,10 +74,6 @@ public: typedef RegexpMapImpl< Val > MapImpl; typedef typename List< Val >::iterator ListIterator; - // Solaris needs these for the ctor... - - inline RegexpMapIterImpl(); - inline RegexpMapIterImpl(MapImpl * pTheMap, int nTheList, ListIterator aTheIndex); @@ -96,6 +92,8 @@ public: RegexpMapEntry< Val > & get(); private: + RegexpMapIterImpl(); // not implemented + mutable RegexpMapEntry< Val > m_aEntry; typename List< Val >::iterator m_aIndex; RegexpMapImpl< Val > * m_pMap; @@ -108,14 +106,6 @@ private: } template< typename Val > -inline RegexpMapIterImpl< Val >::RegexpMapIterImpl(): - m_aEntry(rtl::OUString(), 0), - m_pMap(0), - m_nList(-1), - m_bEntrySet(false) -{} - -template< typename Val > inline RegexpMapIterImpl< Val >::RegexpMapIterImpl(MapImpl * pTheMap, int nTheList, ListIterator aTheIndex): |