lemon/concepts/graph_components.h
changeset 1210 da87dbdf3daf
parent 1197 f179aa1045a4
     1.1 --- a/lemon/concepts/graph_components.h	Thu Feb 25 09:46:12 2021 +0100
     1.2 +++ b/lemon/concepts/graph_components.h	Tue Jul 28 21:23:36 2020 +0200
     1.3 @@ -219,6 +219,12 @@
     1.4          /// Copy constructor.
     1.5          Edge(const Edge &) : Parent() {}
     1.6  
     1.7 +        /// Assignment operator
     1.8 +
     1.9 +        /// Assignment operator.
    1.10 +        ///
    1.11 +        const Edge &operator=(const Edge&) { return *this; }
    1.12 +
    1.13          /// \brief Constructor for conversion from \c INVALID.
    1.14          ///
    1.15          /// Constructor for conversion from \c INVALID.
    1.16 @@ -336,6 +342,11 @@
    1.17          ///
    1.18          /// Copy constructor.
    1.19          RedNode(const RedNode &) : Parent() {}
    1.20 +        /// Assignment operator
    1.21 +
    1.22 +        /// Assignment operator.
    1.23 +        ///
    1.24 +        const RedNode &operator=(const RedNode&) { return *this; }
    1.25  
    1.26          /// \brief Constructor for conversion from \c INVALID.
    1.27          ///
    1.28 @@ -365,6 +376,12 @@
    1.29          ///
    1.30          /// Copy constructor.
    1.31          BlueNode(const BlueNode &) : Parent() {}
    1.32 +        /// Assignment operator
    1.33 +
    1.34 +        /// Assignment operator.
    1.35 +        ///
    1.36 +        const BlueNode &operator=(const BlueNode&) { return *this; }
    1.37 +
    1.38  
    1.39          /// \brief Constructor for conversion from \c INVALID.
    1.40          ///