summaryrefslogtreecommitdiffstats
path: root/src/charts/linechart/linechartitem.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/charts/linechart/linechartitem.cpp')
-rw-r--r--src/charts/linechart/linechartitem.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/charts/linechart/linechartitem.cpp b/src/charts/linechart/linechartitem.cpp
index cf5c8b89..764f01d2 100644
--- a/src/charts/linechart/linechartitem.cpp
+++ b/src/charts/linechart/linechartitem.cpp
@@ -304,7 +304,7 @@ void LineChartItem::updateGeometry()
qreal markerHalfSize = (m_markerSize / 2.0) + 1;
qreal markerSize = m_markerSize + 2;
- for (const auto &point : qAsConst(m_linePoints)) {
+ for (const auto &point : std::as_const(m_linePoints)) {
checkShapePath.addRect(point.x() - markerHalfSize,
point.y() - markerHalfSize,
markerSize, markerSize);