summaryrefslogtreecommitdiffstats
path: root/tests/auto/animation/channelmapper/tst_channelmapper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/auto/animation/channelmapper/tst_channelmapper.cpp')
-rw-r--r--tests/auto/animation/channelmapper/tst_channelmapper.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/auto/animation/channelmapper/tst_channelmapper.cpp b/tests/auto/animation/channelmapper/tst_channelmapper.cpp
index 8a9b60bf5..4dcb52aef 100644
--- a/tests/auto/animation/channelmapper/tst_channelmapper.cpp
+++ b/tests/auto/animation/channelmapper/tst_channelmapper.cpp
@@ -105,7 +105,7 @@ private Q_SLOTS:
Qt3DCore::QPropertyUpdatedChangePtr updateChange;
// WHEN
- updateChange.reset(new Qt3DCore::QPropertyUpdatedChange(Qt3DCore::QNodeId()));
+ updateChange = QSharedPointer<Qt3DCore::QPropertyUpdatedChange>::create(Qt3DCore::QNodeId());
updateChange->setPropertyName("enabled");
updateChange->setValue(true);
backendMapper.sceneChangeEvent(updateChange);