diff options
author | Sérgio Martins <sergio.martins@kdab.com> | 2015-07-19 21:07:42 +0100 |
---|---|---|
committer | Sérgio Martins <sergio.martins@kdab.com> | 2015-12-12 20:35:56 +0000 |
commit | d6c2dea7da1b726d5d074bb2505b89b5e849fac5 (patch) | |
tree | 379558f6209e55030ac0f693be39c3b2de620a0a /src/widgets/graphicsview/qgraphicsanchorlayout_p.cpp | |
parent | 6cc79ad9947bc353dbc7decd91c462c9b104cf92 (diff) |
widgets: Pass non-trivially-copyable or large types by const-ref
Change-Id: I912c6a9ee7b27350ac3d1fe147b697338e76f53c
Reviewed-by: Marc Mutz <marc.mutz@kdab.com>
Diffstat (limited to 'src/widgets/graphicsview/qgraphicsanchorlayout_p.cpp')
-rw-r--r-- | src/widgets/graphicsview/qgraphicsanchorlayout_p.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/widgets/graphicsview/qgraphicsanchorlayout_p.cpp b/src/widgets/graphicsview/qgraphicsanchorlayout_p.cpp index 04a844ce4e..5033264459 100644 --- a/src/widgets/graphicsview/qgraphicsanchorlayout_p.cpp +++ b/src/widgets/graphicsview/qgraphicsanchorlayout_p.cpp @@ -2796,7 +2796,7 @@ void QGraphicsAnchorLayoutPrivate::interpolateEdge(AnchorVertex *base, AnchorDat } bool QGraphicsAnchorLayoutPrivate::solveMinMax(const QList<QSimplexConstraint *> &constraints, - GraphPath path, qreal *min, qreal *max) + const GraphPath &path, qreal *min, qreal *max) { QSimplex simplex; bool feasible = simplex.setConstraints(constraints); |