# HG changeset patch # User Balazs Dezso # Date 2008-05-25 17:01:11 # Node ID 500f3cbff9e4ad090ac07241a7e885f70d82d9ab # Parent 2ccc1afc2c5235526c8b5adcb494f1f8e659cdaa Wrong member variable settings bug fix. (Ticket #95) diff --git a/lemon/bfs.h b/lemon/bfs.h --- a/lemon/bfs.h +++ b/lemon/bfs.h @@ -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 --git a/lemon/dfs.h b/lemon/dfs.h --- a/lemon/dfs.h +++ b/lemon/dfs.h @@ -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); }