COIN-OR::LEMON - Graph Library

Changeset 158:500f3cbff9e4 in lemon-1.2 for lemon/dfs.h


Ignore:
Timestamp:
05/25/08 17:01:11 (11 years ago)
Author:
Balazs Dezso <deba@…>
Branch:
default
Children:
159:c7d30f7810e5, 160:b1bd0c2a7f57
Phase:
public
Message:

Wrong member variable settings bug fix. (Ticket #95)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/dfs.h

    r157 r158  
    10001000    DfsWizard<DefReachedMapBase<T> > reachedMap(const T &t)
    10011001    {
    1002       Base::_pred=reinterpret_cast<void*>(const_cast<T*>(&t));
     1002      Base::_reached=reinterpret_cast<void*>(const_cast<T*>(&t));
    10031003      return DfsWizard<DefReachedMapBase<T> >(*this);
    10041004    }
     
    10211021    DfsWizard<DefProcessedMapBase<T> > processedMap(const T &t)
    10221022    {
    1023       Base::_pred=reinterpret_cast<void*>(const_cast<T*>(&t));
     1023      Base::_processed=reinterpret_cast<void*>(const_cast<T*>(&t));
    10241024      return DfsWizard<DefProcessedMapBase<T> >(*this);
    10251025    }
Note: See TracChangeset for help on using the changeset viewer.