mirror of
https://github.com/boostorg/graph.git
synced 2026-01-30 20:02:12 +00:00
fixed some bugs due to changes in iterator_adaptor::base()
[SVN r21864]
This commit is contained in:
@@ -158,7 +158,7 @@ namespace boost {
|
||||
{ }
|
||||
|
||||
void increment() {
|
||||
++this->base();
|
||||
++this->base_reference();
|
||||
++m_targ;
|
||||
}
|
||||
|
||||
@@ -212,12 +212,12 @@ namespace boost {
|
||||
{
|
||||
if (m_targ < m_src) // first half
|
||||
{
|
||||
++this->base();
|
||||
++this->base_reference();
|
||||
}
|
||||
else
|
||||
{ // second half
|
||||
++m_inc;
|
||||
this->base() += m_inc;
|
||||
this->base_reference() += m_inc;
|
||||
}
|
||||
++m_targ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user