COIN-OR::LEMON - Graph Library

Changeset 2611:b526b87d8c2f in lemon-0.x for lemon/dfs.h


Ignore:
Timestamp:
05/25/08 18:35:05 (16 years ago)
Author:
Balazs Dezso
Branch:
default
Phase:
public
Convert:
svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3495
Message:

Fixing bug in named parameters (Back port bug fix of ticket #95)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • lemon/dfs.h

    r2553 r2611  
    10021002    DfsWizard<DefReachedMapBase<T> > reachedMap(const T &t)
    10031003    {
    1004       Base::_pred=reinterpret_cast<void*>(const_cast<T*>(&t));
     1004      Base::_reached=reinterpret_cast<void*>(const_cast<T*>(&t));
    10051005      return DfsWizard<DefReachedMapBase<T> >(*this);
    10061006    }
     
    10231023    DfsWizard<DefProcessedMapBase<T> > processedMap(const T &t)
    10241024    {
    1025       Base::_pred=reinterpret_cast<void*>(const_cast<T*>(&t));
     1025      Base::_processed=reinterpret_cast<void*>(const_cast<T*>(&t));
    10261026      return DfsWizard<DefProcessedMapBase<T> >(*this);
    10271027    }
Note: See TracChangeset for help on using the changeset viewer.