diff options
author | Paul Wicking <paul.wicking@qt.io> | 2019-01-31 16:43:15 +0100 |
---|---|---|
committer | Paul Wicking <paul.wicking@qt.io> | 2019-02-08 21:48:17 +0000 |
commit | 4d2903ce81b5e1cdfb18b108838f44bc8e8603de (patch) | |
tree | d1fd1177b9fa3b99c6807038d9a76c346765d33f /src/qdoc/qdoctagfiles.cpp | |
parent | 439d9682de6052492431324e8c207e3cc3c02957 (diff) | |
download | qttools-4d2903ce81b5e1cdfb18b108838f44bc8e8603de.tar.gz |
QDoc: Code cleanup, use nullptr for nullptr constants
Replace 0 as nullptr constant with nullptr.
Remove reduntant semi-colons after member function definitions.
Adjust whitespace on lines otherwise touched.
Change-Id: I6af218ca8377611040360e0a3da392e7cffd29e9
Reviewed-by: Martin Smith <martin.smith@qt.io>
Reviewed-by: Qt CI Bot <qt_ci_bot@qt-project.org>
Diffstat (limited to 'src/qdoc/qdoctagfiles.cpp')
-rw-r--r-- | src/qdoc/qdoctagfiles.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/qdoc/qdoctagfiles.cpp b/src/qdoc/qdoctagfiles.cpp index 136ca87d7..2c934193b 100644 --- a/src/qdoc/qdoctagfiles.cpp +++ b/src/qdoc/qdoctagfiles.cpp @@ -47,7 +47,7 @@ QT_BEGIN_NAMESPACE This class handles the generation of the qdoc tag file. */ -QDocTagFiles* QDocTagFiles::qdocTagFiles_ = NULL; +QDocTagFiles* QDocTagFiles::qdocTagFiles_ = nullptr; /*! Constructs the singleton. \a qdb is the pointer to the @@ -64,7 +64,7 @@ QDocTagFiles::QDocTagFiles() */ QDocTagFiles::~QDocTagFiles() { - qdb_ = 0; + qdb_ = nullptr; } /*! @@ -85,7 +85,7 @@ void QDocTagFiles::destroyQDocTagFiles() { if (qdocTagFiles_) { delete qdocTagFiles_; - qdocTagFiles_ = 0; + qdocTagFiles_ = nullptr; } } |