aboutsummaryrefslogtreecommitdiff
path: root/autotests/kconfig_compiler/test8c.cpp.ref
diff options
context:
space:
mode:
Diffstat (limited to 'autotests/kconfig_compiler/test8c.cpp.ref')
-rw-r--r--autotests/kconfig_compiler/test8c.cpp.ref4
1 files changed, 2 insertions, 2 deletions
diff --git a/autotests/kconfig_compiler/test8c.cpp.ref b/autotests/kconfig_compiler/test8c.cpp.ref
index e2bd027c..d806ca79 100644
--- a/autotests/kconfig_compiler/test8c.cpp.ref
+++ b/autotests/kconfig_compiler/test8c.cpp.ref
@@ -41,12 +41,12 @@ void Test8c::instance(KSharedConfig::Ptr config)
qDebug() << "Test8c::instance called after the first use - ignoring";
return;
}
- new Test8c(config);
+ new Test8c(std::move(config));
s_globalTest8c()->q->read();
}
Test8c::Test8c( KSharedConfig::Ptr config, QObject *parent )
- : KConfigSkeleton( config )
+ : KConfigSkeleton( std::move( config ) )
{
setParent(parent);
Q_ASSERT(!s_globalTest8c()->q);