diff options
author | Nicolás Alvarez <nicolas.alvarez@gmail.com> | 2014-09-18 12:37:08 -0300 |
---|---|---|
committer | Nicolás Alvarez <nicolas.alvarez@gmail.com> | 2014-09-18 12:37:08 -0300 |
commit | a26008ef6773e3d473fccc8bc8f8aaf902a49121 (patch) | |
tree | 09347e4553896ef34d9d298e3ced8ce8c350bbd6 | |
parent | 3d6e95433dd182f524caf96214a720e223b9a937 (diff) | |
download | kconfig-a26008ef6773e3d473fccc8bc8f8aaf902a49121.tar.gz kconfig-a26008ef6773e3d473fccc8bc8f8aaf902a49121.tar.bz2 |
Replace nullptr with Q_NULLPTR.
gcc 4.5 doesn't have nullptr.
-rw-r--r-- | autotests/kconfig_compiler/kconfigcompiler_test_signals.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/autotests/kconfig_compiler/kconfigcompiler_test_signals.cpp b/autotests/kconfig_compiler/kconfigcompiler_test_signals.cpp index e98c03a5..9a26ca1e 100644 --- a/autotests/kconfig_compiler/kconfigcompiler_test_signals.cpp +++ b/autotests/kconfig_compiler/kconfigcompiler_test_signals.cpp @@ -79,7 +79,7 @@ void KConfigCompiler_Test_Signals::cleanupTestCase() struct TestSettersArg { // default constructor required for Q_DECLARE_METATYPE - TestSettersArg() : obj(nullptr) {} + TestSettersArg() : obj(Q_NULLPTR) {} template<typename T> TestSettersArg(T* object) : obj(object) { // we can also call static methods using object->foo() so this works for all four cases |