lemon/bfs.h
changeset 2611 b526b87d8c2f
parent 2553 bfced05fa852
     1.1 --- a/lemon/bfs.h	Fri May 23 10:55:41 2008 +0000
     1.2 +++ b/lemon/bfs.h	Sun May 25 16:35:05 2008 +0000
     1.3 @@ -1018,7 +1018,7 @@
     1.4      template<class T>
     1.5      BfsWizard<DefReachedMapBase<T> > reachedMap(const T &t) 
     1.6      {
     1.7 -      Base::_pred=reinterpret_cast<void*>(const_cast<T*>(&t));
     1.8 +      Base::_reached=reinterpret_cast<void*>(const_cast<T*>(&t));
     1.9        return BfsWizard<DefReachedMapBase<T> >(*this);
    1.10      }
    1.11      
    1.12 @@ -1039,7 +1039,7 @@
    1.13      template<class T>
    1.14      BfsWizard<DefProcessedMapBase<T> > processedMap(const T &t) 
    1.15      {
    1.16 -      Base::_pred=reinterpret_cast<void*>(const_cast<T*>(&t));
    1.17 +      Base::_processed=reinterpret_cast<void*>(const_cast<T*>(&t));
    1.18        return BfsWizard<DefProcessedMapBase<T> >(*this);
    1.19      }
    1.20