diff -r 096d83158d41 -r 81b47fc5c444 lemon/bits/graph_adaptor_extender.h --- a/lemon/bits/graph_adaptor_extender.h Fri Mar 02 17:56:22 2007 +0000 +++ b/lemon/bits/graph_adaptor_extender.h Fri Mar 02 18:04:28 2007 +0000 @@ -399,28 +399,28 @@ /// /// Returns the base node (ie. the source in this case) of the iterator Node baseNode(const OutEdgeIt &e) const { - return Parent::source((Edge)e); + return Parent::source(static_cast(e)); } /// \brief Running node of the iterator /// /// Returns the running node (ie. the target in this case) of the /// iterator Node runningNode(const OutEdgeIt &e) const { - return Parent::target((Edge)e); + return Parent::target(static_cast(e)); } /// \brief Base node of the iterator /// /// Returns the base node (ie. the target in this case) of the iterator Node baseNode(const InEdgeIt &e) const { - return Parent::target((Edge)e); + return Parent::target(static_cast(e)); } /// \brief Running node of the iterator /// /// Returns the running node (ie. the source in this case) of the /// iterator Node runningNode(const InEdgeIt &e) const { - return Parent::source((Edge)e); + return Parent::source(static_cast(e)); } /// Base node of the iterator @@ -651,28 +651,28 @@ /// /// Returns the base node (ie. the source in this case) of the iterator Node baseNode(const OutEdgeIt &e) const { - return Parent::source((Edge&)e); + return Parent::source(static_cast(e)); } /// \brief Running node of the iterator /// /// Returns the running node (ie. the target in this case) of the /// iterator Node runningNode(const OutEdgeIt &e) const { - return Parent::target((Edge&)e); + return Parent::target(static_cast(e)); } /// \brief Base node of the iterator /// /// Returns the base node (ie. the target in this case) of the iterator Node baseNode(const InEdgeIt &e) const { - return Parent::target((Edge&)e); + return Parent::target(static_cast(e)); } /// \brief Running node of the iterator /// /// Returns the running node (ie. the source in this case) of the /// iterator Node runningNode(const InEdgeIt &e) const { - return Parent::source((Edge&)e); + return Parent::source(static_cast(e)); } class IncEdgeIt : public Parent::UEdge {