COIN-OR::LEMON - Graph Library

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


Ignore:
Timestamp:
05/25/08 17:01:11 (12 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/bfs.h

    r157 r158  
    10171017    BfsWizard<DefReachedMapBase<T> > reachedMap(const T &t)
    10181018    {
    1019       Base::_pred=reinterpret_cast<void*>(const_cast<T*>(&t));
     1019      Base::_reached=reinterpret_cast<void*>(const_cast<T*>(&t));
    10201020      return BfsWizard<DefReachedMapBase<T> >(*this);
    10211021    }
     
    10381038    BfsWizard<DefProcessedMapBase<T> > processedMap(const T &t)
    10391039    {
    1040       Base::_pred=reinterpret_cast<void*>(const_cast<T*>(&t));
     1040      Base::_processed=reinterpret_cast<void*>(const_cast<T*>(&t));
    10411041      return BfsWizard<DefProcessedMapBase<T> >(*this);
    10421042    }
Note: See TracChangeset for help on using the changeset viewer.