QGraphicsView: Graph: remove faulty const_iterator::op=

It failed to copy 'g'.

Fix by letting the compiler generate one.

Change-Id: Ie19fdacb8f27aef821be58c0b727c802d71bfe64
Reviewed-by: Olivier Goffart (Woboq GmbH) <ogoffart@woboq.com>
This commit is contained in:
Marc Mutz 2016-01-16 20:24:03 +01:00
parent 1ee43b9b24
commit a0cee9916a

View File

@ -103,7 +103,6 @@ public:
return row != o.row || column != o.column;
}
}
inline const_iterator& operator=(const const_iterator &o) const { row = o.row; column = o.column; return *this;}
// prefix
const_iterator &operator++() {