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());