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/test5.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/test5.cpp.ref')
-rw-r--r-- | autotests/kconfig_compiler/test5.cpp.ref | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/autotests/kconfig_compiler/test5.cpp.ref b/autotests/kconfig_compiler/test5.cpp.ref index fefe8e8c..a27bd770 100644 --- a/autotests/kconfig_compiler/test5.cpp.ref +++ b/autotests/kconfig_compiler/test5.cpp.ref @@ -9,7 +9,7 @@ class Test5Helper { public: - Test5Helper() : q(0) {} + Test5Helper() : q(nullptr) {} ~Test5Helper() { delete q; } Test5 *q; }; @@ -83,6 +83,6 @@ QColor defaultColor[4] = { Qt::red, Qt::blue, Qt::green, Qt::black }; Test5::~Test5() { - s_globalTest5()->q = 0; + s_globalTest5()->q = nullptr; } |