Changeset 2386:81b47fc5c444 in lemon-0.x for lemon/bits/edge_set_extender.h
- Timestamp:
- 03/02/07 19:04:28 (17 years ago)
- Branch:
- default
- Phase:
- public
- Convert:
- svn:c9d7d8f5-90d6-0310-b91f-818b3a526b0e/lemon/trunk@3217
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/bits/edge_set_extender.h
r2384 r2386 190 190 /// Returns the base node (ie. the source in this case) of the iterator 191 191 Node baseNode(const OutEdgeIt &e) const { 192 return Parent::source( (Edge)e);192 return Parent::source(static_cast<const Edge&>(e)); 193 193 } 194 194 /// \brief Running node of the iterator … … 197 197 /// iterator 198 198 Node runningNode(const OutEdgeIt &e) const { 199 return Parent::target( (Edge)e);199 return Parent::target(static_cast<const Edge&>(e)); 200 200 } 201 201 … … 204 204 /// Returns the base node (ie. the target in this case) of the iterator 205 205 Node baseNode(const InEdgeIt &e) const { 206 return Parent::target( (Edge)e);206 return Parent::target(static_cast<const Edge&>(e)); 207 207 } 208 208 /// \brief Running node of the iterator … … 211 211 /// iterator 212 212 Node runningNode(const InEdgeIt &e) const { 213 return Parent::source( (Edge)e);213 return Parent::source(static_cast<const Edge&>(e)); 214 214 } 215 215 … … 497 497 /// Returns the base node (ie. the source in this case) of the iterator 498 498 Node baseNode(const OutEdgeIt &e) const { 499 return Parent::source( (Edge)e);499 return Parent::source(static_cast<const Edge&>(e)); 500 500 } 501 501 /// \brief Running node of the iterator … … 504 504 /// iterator 505 505 Node runningNode(const OutEdgeIt &e) const { 506 return Parent::target( (Edge)e);506 return Parent::target(static_cast<const Edge&>(e)); 507 507 } 508 508 … … 511 511 /// Returns the base node (ie. the target in this case) of the iterator 512 512 Node baseNode(const InEdgeIt &e) const { 513 return Parent::target( (Edge)e);513 return Parent::target(static_cast<const Edge&>(e)); 514 514 } 515 515 /// \brief Running node of the iterator … … 518 518 /// iterator 519 519 Node runningNode(const InEdgeIt &e) const { 520 return Parent::source( (Edge)e);520 return Parent::source(static_cast<const Edge&>(e)); 521 521 } 522 522
Note: See TracChangeset
for help on using the changeset viewer.