From a0cee9916a980d6a670c76de0ba818eda54589bb Mon Sep 17 00:00:00 2001 From: Marc Mutz Date: Sat, 16 Jan 2016 20:24:03 +0100 Subject: [PATCH] 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) --- src/widgets/graphicsview/qgraph_p.h | 1 - 1 file changed, 1 deletion(-) diff --git a/src/widgets/graphicsview/qgraph_p.h b/src/widgets/graphicsview/qgraph_p.h index 53701764de..e442cc3412 100644 --- a/src/widgets/graphicsview/qgraph_p.h +++ b/src/widgets/graphicsview/qgraph_p.h @@ -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++() {