// m_psstrm = NULL;
m_prgslout = NULL;
@@ -575,7 +577,10 @@ void Segment::SwapWith(Segment * pgrseg)
int crefThis = m_cref;
int crefOther = pgrseg->m_cref;
- std::swap(*this, *pgrseg);
+ //std::swap(*this, *pgrseg);
+ Segment tmp = *this;
+ *this = *pgrseg;
+ *pgrseg = tmp;
m_cref = crefThis;
pgrseg->m_cref = crefOther;
@@ -1178,7 +1180,7 @@ LineBrk Segment::getBreakWeight(int ich,
part of the segment.
----------------------------------------------------------------------------------------------*/