diff options
author | Tobias Hunger <tobias.hunger@qt.io> | 2018-05-07 17:36:22 +0200 |
---|---|---|
committer | Tobias Hunger <tobias.hunger@qt.io> | 2018-05-09 12:15:01 +0000 |
commit | b554c761fb5bcf8c2882a7cf5d59a973c1ca86ce (patch) | |
tree | b15af0cb77052b90fd64639341c8db3d36b0d017 /src/plugins/cpptools/includeutils.h | |
parent | fb71cac07bb6a45d4592da3a92dab7f41a6623f6 (diff) | |
download | qt-creator-b554c761fb5bcf8c2882a7cf5d59a973c1ca86ce.tar.gz |
CppTools: Consistently use nullptr
Fixed by clang-tidy modernize-use-nullptr.
Change-Id: I951627ba3543faa357f67ee76527518290efe3f1
Reviewed-by: Ivan Donchevskii <ivan.donchevskii@qt.io>
Diffstat (limited to 'src/plugins/cpptools/includeutils.h')
-rw-r--r-- | src/plugins/cpptools/includeutils.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/cpptools/includeutils.h b/src/plugins/cpptools/includeutils.h index 5375877ded..cadbac37b4 100644 --- a/src/plugins/cpptools/includeutils.h +++ b/src/plugins/cpptools/includeutils.h @@ -90,8 +90,8 @@ public: /// Returns the line (1-based) at which the include directive should be inserted. /// On error, -1 is returned. - int operator()(const QString &newIncludeFileName, unsigned *newLinesToPrepend = 0, - unsigned *newLinesToAppend = 0); + int operator()(const QString &newIncludeFileName, unsigned *newLinesToPrepend = nullptr, + unsigned *newLinesToAppend = nullptr); private: int findInsertLineForVeryFirstInclude(unsigned *newLinesToPrepend, unsigned *newLinesToAppend); |