summaryrefslogtreecommitdiffstats
path: root/src/widgets/graphicsview/qgraph_p.h
diff options
context:
space:
mode:
authorMarc Mutz <marc.mutz@kdab.com>2016-01-16 20:24:03 +0100
committerMarc Mutz <marc.mutz@kdab.com>2016-01-17 13:23:06 +0000
commita0cee9916a980d6a670c76de0ba818eda54589bb (patch)
tree3c5280a6e91324385d00652e0b580d8644c077ca /src/widgets/graphicsview/qgraph_p.h
parent1ee43b9b2414c0a2e476982e069f26bcd39b2544 (diff)
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>
Diffstat (limited to 'src/widgets/graphicsview/qgraph_p.h')
-rw-r--r--src/widgets/graphicsview/qgraph_p.h1
1 files changed, 0 insertions, 1 deletions
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++() {