# HG changeset patch # User deba # Date 1188549649 0 # Node ID d6f12a9b5cbf6547ae922571c967912a67a2bea8 # Parent 16615642ac7b5c0757d6b509db05b30c39701320 Invalid assignments ambiguity handling diff -r 16615642ac7b -r d6f12a9b5cbf lemon/bits/base_extender.h --- a/lemon/bits/base_extender.h Tue Aug 28 14:13:40 2007 +0000 +++ b/lemon/bits/base_extender.h Fri Aug 31 08:40:49 2007 +0000 @@ -309,6 +309,10 @@ return *this; } ANode(Invalid) : Node(INVALID) {} + ANode& operator=(Invalid) { + Node::operator=(INVALID); + return *this; + } }; void first(ANode& node) const { @@ -337,6 +341,10 @@ return *this; } BNode(Invalid) : Node(INVALID) {} + BNode& operator=(Invalid) { + Node::operator=(INVALID); + return *this; + } }; void first(BNode& node) const {