Changeset 2611:b526b87d8c2f in lemon-0.x
- Timestamp:
- 05/25/08 18:35:05 (15 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3495
- Location:
- lemon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/bfs.h
r2553 r2611 1019 1019 BfsWizard<DefReachedMapBase<T> > reachedMap(const T &t) 1020 1020 { 1021 Base::_ pred=reinterpret_cast<void*>(const_cast<T*>(&t));1021 Base::_reached=reinterpret_cast<void*>(const_cast<T*>(&t)); 1022 1022 return BfsWizard<DefReachedMapBase<T> >(*this); 1023 1023 } … … 1040 1040 BfsWizard<DefProcessedMapBase<T> > processedMap(const T &t) 1041 1041 { 1042 Base::_pr ed=reinterpret_cast<void*>(const_cast<T*>(&t));1042 Base::_processed=reinterpret_cast<void*>(const_cast<T*>(&t)); 1043 1043 return BfsWizard<DefProcessedMapBase<T> >(*this); 1044 1044 } -
lemon/dfs.h
r2553 r2611 1002 1002 DfsWizard<DefReachedMapBase<T> > reachedMap(const T &t) 1003 1003 { 1004 Base::_ pred=reinterpret_cast<void*>(const_cast<T*>(&t));1004 Base::_reached=reinterpret_cast<void*>(const_cast<T*>(&t)); 1005 1005 return DfsWizard<DefReachedMapBase<T> >(*this); 1006 1006 } … … 1023 1023 DfsWizard<DefProcessedMapBase<T> > processedMap(const T &t) 1024 1024 { 1025 Base::_pr ed=reinterpret_cast<void*>(const_cast<T*>(&t));1025 Base::_processed=reinterpret_cast<void*>(const_cast<T*>(&t)); 1026 1026 return DfsWizard<DefProcessedMapBase<T> >(*this); 1027 1027 }
Note: See TracChangeset
for help on using the changeset viewer.