Skip to content

Commit

Permalink
cxx-qt-lib: fix FFI name
Browse files Browse the repository at this point in the history
  • Loading branch information
jnbooth committed Jan 12, 2025
1 parent cf2976f commit 205ad64
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion crates/cxx-qt-lib/src/gui/qpolygon.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ qpolygonAsQVectorQPointRef(const QPolygon& shape)
}

QVector<QPoint>&
qpolygonAsQVectorQPointRefMut(QPolygon& shape)
qpolygonAsQVectorQPointRef(QPolygon& shape)
{
return static_cast<QVector<QPoint>&>(shape);
}
Expand Down
2 changes: 1 addition & 1 deletion crates/cxx-qt-lib/src/gui/qpolygonf.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ qpolygonfAsQVectorQPointFRef(const QPolygonF& shape)
}

QVector<QPointF>&
qpolygonfAsQVectorQPointFRefMut(QPolygonF& shape)
qpolygonfAsQVectorQPointFRef(QPolygonF& shape)
{
return static_cast<QVector<QPointF>&>(shape);
}
Expand Down

0 comments on commit 205ad64

Please sign in to comment.