diff options
author | Zhao Yuhang <[email protected]> | 2025-04-10 16:20:35 +0800 |
---|---|---|
committer | Zhao Yuhang <[email protected]> | 2025-04-12 05:39:59 +0000 |
commit | 60297d4d1e17705c128d11a1ef6f200e59ba4708 (patch) | |
tree | de516f9eb0c35659cd50c1fcd3a52a94ff6f838c /src/particles/qquickcustomaffector.cpp | |
parent | fe62a09338be3ca3371988e1645c8e74e36a4818 (diff) |
Port away from QPair
QPair is just an alias of std::pair anyway.
Task-number: QTBUG-115841
Change-Id: I26fc90adcc775aac9955ad57304af914dc4ed48f
Reviewed-by: Ulf Hermann <[email protected]>
Diffstat (limited to 'src/particles/qquickcustomaffector.cpp')
-rw-r--r-- | src/particles/qquickcustomaffector.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/particles/qquickcustomaffector.cpp b/src/particles/qquickcustomaffector.cpp index 2240dbfcef..cd75f2d5b4 100644 --- a/src/particles/qquickcustomaffector.cpp +++ b/src/particles/qquickcustomaffector.cpp @@ -116,7 +116,7 @@ void QQuickCustomAffector::affectSystem(qreal dt) if (justAffected) { for (const QQuickParticleData *d : std::as_const(toAffect)) {//Not postAffect to avoid saying the particle changed if (m_onceOff) - m_onceOffed << qMakePair(d->groupId, d->index); + m_onceOffed << std::make_pair(d->groupId, d->index); emit affected(d->curX(m_system), d->curY(m_system)); } return; |