lemon/smart_graph.h
changeset 1432 da87dbdf3daf
parent 1336 0759d974de81
     1.1 --- a/lemon/smart_graph.h	Thu Feb 25 09:46:12 2021 +0100
     1.2 +++ b/lemon/smart_graph.h	Tue Jul 28 21:23:36 2020 +0200
     1.3 @@ -863,7 +863,8 @@
     1.4      public:
     1.5        RedNode() {}
     1.6        RedNode(const RedNode& node) : Node(node) {}
     1.7 -      RedNode(Invalid) : Node(INVALID){}
     1.8 +      RedNode(Invalid) : Node(INVALID) {}
     1.9 +      const RedNode& operator=(const RedNode& node) { Node::operator=(node); return *this;}
    1.10      };
    1.11  
    1.12      class BlueNode : public Node {
    1.13 @@ -876,6 +877,7 @@
    1.14        BlueNode() {}
    1.15        BlueNode(const BlueNode& node) : Node(node) {}
    1.16        BlueNode(Invalid) : Node(INVALID){}
    1.17 +      const BlueNode& operator=(const BlueNode& node) { Node::operator=(node); return *this;}
    1.18      };
    1.19  
    1.20      class Edge {