diff --git a/crates/cxx-qt-lib/src/gui/qpolygon.cpp b/crates/cxx-qt-lib/src/gui/qpolygon.cpp index c686d83cd..32dd9ee11 100644 --- a/crates/cxx-qt-lib/src/gui/qpolygon.cpp +++ b/crates/cxx-qt-lib/src/gui/qpolygon.cpp @@ -42,7 +42,7 @@ qpolygonAsQVectorQPointRef(const QPolygon& shape) } QVector& -qpolygonAsQVectorQPointRefMut(QPolygon& shape) +qpolygonAsQVectorQPointRef(QPolygon& shape) { return static_cast&>(shape); } diff --git a/crates/cxx-qt-lib/src/gui/qpolygonf.cpp b/crates/cxx-qt-lib/src/gui/qpolygonf.cpp index 06f2a1775..665447a13 100644 --- a/crates/cxx-qt-lib/src/gui/qpolygonf.cpp +++ b/crates/cxx-qt-lib/src/gui/qpolygonf.cpp @@ -42,7 +42,7 @@ qpolygonfAsQVectorQPointFRef(const QPolygonF& shape) } QVector& -qpolygonfAsQVectorQPointFRefMut(QPolygonF& shape) +qpolygonfAsQVectorQPointFRef(QPolygonF& shape) { return static_cast&>(shape); }