aboutsummaryrefslogtreecommitdiff
path: root/autotests/kconfig_compiler/test8c.cpp.ref
diff options
context:
space:
mode:
authorDavid Faure <faure@kde.org>2017-01-08 17:23:38 +0100
committerDavid Faure <faure@kde.org>2017-01-08 17:23:38 +0100
commitd3de5a2a79d2786207d0cfbbc9828e00dabd148d (patch)
treea5f7bc25d418f24d138059d9af87ed8c2f52c947 /autotests/kconfig_compiler/test8c.cpp.ref
parent4c7ea7c4ec05d7c8af28ba19d6e02e2293175236 (diff)
downloadkconfig-d3de5a2a79d2786207d0cfbbc9828e00dabd148d.tar.gz
kconfig-d3de5a2a79d2786207d0cfbbc9828e00dabd148d.tar.bz2
This should now use nullptr
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 90305c1f..0759825c 100644
--- a/autotests/kconfig_compiler/test8c.cpp.ref
+++ b/autotests/kconfig_compiler/test8c.cpp.ref
@@ -11,7 +11,7 @@
class Test8cHelper
{
public:
- Test8cHelper() : q(0) {}
+ Test8cHelper() : q(nullptr) {}
~Test8cHelper() { delete q; }
Test8c *q;
};
@@ -60,6 +60,6 @@ Test8c::Test8c( KSharedConfig::Ptr config )
Test8c::~Test8c()
{
- s_globalTest8c()->q = 0;
+ s_globalTest8c()->q = nullptr;
}