# HG changeset patch # User Balazs Dezso # Date 1211727671 -7200 # Node ID 500f3cbff9e4ad090ac07241a7e885f70d82d9ab # Parent 2ccc1afc2c5235526c8b5adcb494f1f8e659cdaa Wrong member variable settings bug fix. (Ticket #95) diff -r 2ccc1afc2c52 -r 500f3cbff9e4 lemon/bfs.h --- a/lemon/bfs.h Sat May 24 23:20:49 2008 +0200 +++ b/lemon/bfs.h Sun May 25 17:01:11 2008 +0200 @@ -1016,7 +1016,7 @@ template BfsWizard > reachedMap(const T &t) { - Base::_pred=reinterpret_cast(const_cast(&t)); + Base::_reached=reinterpret_cast(const_cast(&t)); return BfsWizard >(*this); } @@ -1037,7 +1037,7 @@ template BfsWizard > processedMap(const T &t) { - Base::_pred=reinterpret_cast(const_cast(&t)); + Base::_processed=reinterpret_cast(const_cast(&t)); return BfsWizard >(*this); } diff -r 2ccc1afc2c52 -r 500f3cbff9e4 lemon/dfs.h --- a/lemon/dfs.h Sat May 24 23:20:49 2008 +0200 +++ b/lemon/dfs.h Sun May 25 17:01:11 2008 +0200 @@ -999,7 +999,7 @@ template DfsWizard > reachedMap(const T &t) { - Base::_pred=reinterpret_cast(const_cast(&t)); + Base::_reached=reinterpret_cast(const_cast(&t)); return DfsWizard >(*this); } @@ -1020,7 +1020,7 @@ template DfsWizard > processedMap(const T &t) { - Base::_pred=reinterpret_cast(const_cast(&t)); + Base::_processed=reinterpret_cast(const_cast(&t)); return DfsWizard >(*this); }