Hi Robert,
Guess NameIdPoolEnumerator's '=' method doesn't get used all that often,
since no one seems to have noticed this. If you'd be kind enough to open a
Bugzilla report for this one so that it doesn't fall off the radar again,
that'd be great.
Cheers,
Neil
Neil Graham
XML Parser Development
IBM Toronto Lab
Phone: 905-413-3519, T/L 969-3519
E-mail: [EMAIL PROTECTED]
"Robert Buck"
<[EMAIL PROTECTED] To: <[EMAIL PROTECTED]>
works.com> cc:
Subject: Bug in 2.5
NameIdPoolEnumerator
03/30/2004 07:39
AM
Please respond to
xerces-c-dev
I'm sure that you've run across this one already, but in case you haven't:
template <class TElem> class NameIdPoolEnumerator : public
XMLEnumerator<TElem>, public XMemory
//...
//
-----------------------------------------------------------------------
unsigned int fCurIndex;
NameIdPool<TElem>* fToEnum;
MemoryManager* const fMemoryManager; <<<<<<<<<<<<<<
};
//...
template <class TElem> NameIdPoolEnumerator<TElem>&
NameIdPoolEnumerator<TElem>::
operator=(const NameIdPoolEnumerator<TElem>& toAssign)
{
if (this == &toAssign)
return *this;
fMemoryManager = toAssign.fMemoryManager; // <<< HUH? The ptr is const
people
fCurIndex = toAssign.fCurIndex;
fToEnum = toAssign.fToEnum;
return *this;
}
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
- Bug in 2.5 NameIdPoolEnumerator Robert Buck
- Neil Graham
