From a26008ef6773e3d473fccc8bc8f8aaf902a49121 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicol=C3=A1s=20Alvarez?= Date: Thu, 18 Sep 2014 12:37:08 -0300 Subject: Replace nullptr with Q_NULLPTR. gcc 4.5 doesn't have nullptr. --- autotests/kconfig_compiler/kconfigcompiler_test_signals.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'autotests/kconfig_compiler/kconfigcompiler_test_signals.cpp') 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 TestSettersArg(T* object) : obj(object) { // we can also call static methods using object->foo() so this works for all four cases -- cgit v1.2.1