diff --git a/lemon/bits/map_extender.h b/lemon/bits/map_extender.h --- a/lemon/bits/map_extender.h +++ b/lemon/bits/map_extender.h @@ -62,6 +62,7 @@ MapExtender(const Graph& graph, const Value& value) : Parent(graph, value) {} + private: MapExtender& operator=(const MapExtender& cmap) { return operator=(cmap); } @@ -72,6 +73,7 @@ return *this; } + public: class MapIt : public Item { public: @@ -200,6 +202,7 @@ SubMapExtender(const Graph& _graph, const Value& _value) : Parent(_graph, _value), graph(_graph) {} + private: SubMapExtender& operator=(const SubMapExtender& cmap) { return operator=(cmap); } @@ -214,6 +217,7 @@ return *this; } + public: class MapIt : public Item { public: