From 88ec0f69cab4f737b7b6cc673c0064ffdbf96b0d Mon Sep 17 00:00:00 2001 From: Roman Telezhynskyi Date: Tue, 22 Sep 2020 09:45:17 +0300 Subject: [PATCH] Fix error: 'auto' not allowed in lambda parameter. --- src/libs/vlayout/vlayoutpiece.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/libs/vlayout/vlayoutpiece.cpp b/src/libs/vlayout/vlayoutpiece.cpp index 4de28a48b..bc36d1cfa 100644 --- a/src/libs/vlayout/vlayoutpiece.cpp +++ b/src/libs/vlayout/vlayoutpiece.cpp @@ -509,7 +509,7 @@ template QVector VLayoutPiece::Map(QVector points) const { std::transform(points.begin(), points.end(), points.begin(), - [this](const auto &point) { return d->matrix.map(point); }); + [this](const T &point) { return d->matrix.map(point); }); if (d->mirror) { std::reverse(points.begin(), points.end());