diff options
Diffstat (limited to 'tests/auto/corelib/text/qstringbuilder/qstringbuilder1/stringbuilder.cpp')
-rw-r--r-- | tests/auto/corelib/text/qstringbuilder/qstringbuilder1/stringbuilder.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/auto/corelib/text/qstringbuilder/qstringbuilder1/stringbuilder.cpp b/tests/auto/corelib/text/qstringbuilder/qstringbuilder1/stringbuilder.cpp index c1a208bc62..66dfe3ce58 100644 --- a/tests/auto/corelib/text/qstringbuilder/qstringbuilder1/stringbuilder.cpp +++ b/tests/auto/corelib/text/qstringbuilder/qstringbuilder1/stringbuilder.cpp @@ -261,7 +261,7 @@ void runScenario() r = string P ba; QCOMPARE(r, string); - const char *zero = 0; + const char *zero = nullptr; r = string P zero; QCOMPARE(r, string); r = zero P string; @@ -300,7 +300,7 @@ void runScenario() r2 = QByteArray("hello\0") P UTF8_LITERAL; QCOMPARE(r, r2); - const char *zero = 0; + const char *zero = nullptr; r = ba P zero; QCOMPARE(r, ba); r = zero P ba; |