Changeset 158:500f3cbff9e4 in lemon-1.2 for lemon
- Timestamp:
- 05/25/08 17:01:11 (16 years ago)
- Branch:
- default
- Children:
- 159:c7d30f7810e5, 160:b1bd0c2a7f57
- Phase:
- public
- Location:
- lemon
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/bfs.h
r157 r158 1017 1017 BfsWizard<DefReachedMapBase<T> > reachedMap(const T &t) 1018 1018 { 1019 Base::_ pred=reinterpret_cast<void*>(const_cast<T*>(&t));1019 Base::_reached=reinterpret_cast<void*>(const_cast<T*>(&t)); 1020 1020 return BfsWizard<DefReachedMapBase<T> >(*this); 1021 1021 } … … 1038 1038 BfsWizard<DefProcessedMapBase<T> > processedMap(const T &t) 1039 1039 { 1040 Base::_pr ed=reinterpret_cast<void*>(const_cast<T*>(&t));1040 Base::_processed=reinterpret_cast<void*>(const_cast<T*>(&t)); 1041 1041 return BfsWizard<DefProcessedMapBase<T> >(*this); 1042 1042 } -
lemon/dfs.h
r157 r158 1000 1000 DfsWizard<DefReachedMapBase<T> > reachedMap(const T &t) 1001 1001 { 1002 Base::_ pred=reinterpret_cast<void*>(const_cast<T*>(&t));1002 Base::_reached=reinterpret_cast<void*>(const_cast<T*>(&t)); 1003 1003 return DfsWizard<DefReachedMapBase<T> >(*this); 1004 1004 } … … 1021 1021 DfsWizard<DefProcessedMapBase<T> > processedMap(const T &t) 1022 1022 { 1023 Base::_pr ed=reinterpret_cast<void*>(const_cast<T*>(&t));1023 Base::_processed=reinterpret_cast<void*>(const_cast<T*>(&t)); 1024 1024 return DfsWizard<DefProcessedMapBase<T> >(*this); 1025 1025 }
Note: See TracChangeset
for help on using the changeset viewer.