From b554c761fb5bcf8c2882a7cf5d59a973c1ca86ce Mon Sep 17 00:00:00 2001 From: Tobias Hunger Date: Mon, 7 May 2018 17:36:22 +0200 Subject: CppTools: Consistently use nullptr Fixed by clang-tidy modernize-use-nullptr. Change-Id: I951627ba3543faa357f67ee76527518290efe3f1 Reviewed-by: Ivan Donchevskii --- src/plugins/cpptools/cppcodeformatter.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/cpptools/cppcodeformatter.h') diff --git a/src/plugins/cpptools/cppcodeformatter.h b/src/plugins/cpptools/cppcodeformatter.h index 55e2a233ae..02fb12833f 100644 --- a/src/plugins/cpptools/cppcodeformatter.h +++ b/src/plugins/cpptools/cppcodeformatter.h @@ -217,7 +217,7 @@ private: QStringRef currentTokenText() const; - int tokenizeBlock(const QTextBlock &block, bool *endedJoined = 0); + int tokenizeBlock(const QTextBlock &block, bool *endedJoined = nullptr); void turnInto(int newState); -- cgit v1.2.1