Lines 567-587
Link Here
|
567 |
} |
567 |
} |
568 |
|
568 |
|
569 |
/*---------------------------------------------------------------------------------------------- |
569 |
/*---------------------------------------------------------------------------------------------- |
570 |
Swap the guts of the two segments. |
|
|
571 |
OBSOLETE |
572 |
----------------------------------------------------------------------------------------------*/ |
573 |
void Segment::SwapWith(Segment * pgrseg) |
574 |
{ |
575 |
int crefThis = m_cref; |
576 |
int crefOther = pgrseg->m_cref; |
577 |
|
578 |
std::swap(*this, *pgrseg); |
579 |
|
580 |
m_cref = crefThis; |
581 |
pgrseg->m_cref = crefOther; |
582 |
} |
583 |
|
584 |
/*---------------------------------------------------------------------------------------------- |
585 |
Delete the pointer to the alternate-end-of-line segment. |
570 |
Delete the pointer to the alternate-end-of-line segment. |
586 |
----------------------------------------------------------------------------------------------*/ |
571 |
----------------------------------------------------------------------------------------------*/ |
587 |
void Segment::ClearAltEndLineSeg() |
572 |
void Segment::ClearAltEndLineSeg() |