Changeset 289:d91884dcd572 in lemon-main
- Timestamp:
- 09/29/08 12:34:08 (16 years ago)
- Branch:
- default
- Children:
- 292:e7af73f1805e, 293:47fbc814aa31
- Phase:
- public
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
lemon/bits/base_extender.h
r280 r289 299 299 Red() {} 300 300 Red(const Node& node) : Node(node) { 301 LEMON_ ASSERT(Parent::red(node) || node == INVALID,302 301 LEMON_DEBUG(Parent::red(node) || node == INVALID, 302 typename Parent::NodeSetError()); 303 303 } 304 304 Red& operator=(const Node& node) { 305 LEMON_ ASSERT(Parent::red(node) || node == INVALID,306 305 LEMON_DEBUG(Parent::red(node) || node == INVALID, 306 typename Parent::NodeSetError()); 307 307 Node::operator=(node); 308 308 return *this; … … 331 331 Blue() {} 332 332 Blue(const Node& node) : Node(node) { 333 LEMON_ ASSERT(Parent::blue(node) || node == INVALID,334 333 LEMON_DEBUG(Parent::blue(node) || node == INVALID, 334 typename Parent::NodeSetError()); 335 335 } 336 336 Blue& operator=(const Node& node) { 337 LEMON_ ASSERT(Parent::blue(node) || node == INVALID,338 337 LEMON_DEBUG(Parent::blue(node) || node == INVALID, 338 typename Parent::NodeSetError()); 339 339 Node::operator=(node); 340 340 return *this;
Note: See TracChangeset
for help on using the changeset viewer.