diff options
author | Kevin Funk <kfunk@kde.org> | 2016-12-16 12:35:32 +0100 |
---|---|---|
committer | Kevin Funk <kfunk@kde.org> | 2016-12-16 12:45:40 +0100 |
commit | e6c88f67e2cb660e049a478a8d55220c235aa9c5 (patch) | |
tree | e75dbc7fedaf8d95cf3a349a903cd858859bc8ce /autotests/kconfig_compiler/test_dpointer.cpp.ref | |
parent | 5e5e3e5fb4b1a2f555073fdb4441e97bdbb02e40 (diff) | |
download | kconfig-e6c88f67e2cb660e049a478a8d55220c235aa9c5.tar.gz kconfig-e6c88f67e2cb660e049a478a8d55220c235aa9c5.tar.bz2 |
kconfig_compiler: Use nullptr in generated code
Reviewers: #frameworks, davidedmundson
Reviewed By: davidedmundson
Differential Revision: https://phabricator.kde.org/D3702
Diffstat (limited to 'autotests/kconfig_compiler/test_dpointer.cpp.ref')
-rw-r--r-- | autotests/kconfig_compiler/test_dpointer.cpp.ref | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/autotests/kconfig_compiler/test_dpointer.cpp.ref b/autotests/kconfig_compiler/test_dpointer.cpp.ref index 17ed2091..dd2a4c04 100644 --- a/autotests/kconfig_compiler/test_dpointer.cpp.ref +++ b/autotests/kconfig_compiler/test_dpointer.cpp.ref @@ -48,7 +48,7 @@ class TestDPointerPrivate class TestDPointerHelper { public: - TestDPointerHelper() : q(0) {} + TestDPointerHelper() : q(nullptr) {} ~TestDPointerHelper() { delete q; } TestDPointer *q; }; @@ -343,6 +343,6 @@ KConfigSkeleton::ItemFont *TestDPointer::timeBarFontItem() TestDPointer::~TestDPointer() { delete d; - s_globalTestDPointer()->q = 0; + s_globalTestDPointer()->q = nullptr; } |