forked from qt-creator/qt-creator
Some clang-tidy -use-modernize-nullptr
Change-Id: I1bed5e85a5b7948d08502a72a10f80baa075c204 Reviewed-by: Thomas Hartmann <thomas.hartmann@qt.io>
This commit is contained in:
4
src/libs/3rdparty/cplusplus/Templates.h
vendored
4
src/libs/3rdparty/cplusplus/Templates.h
vendored
@@ -40,7 +40,7 @@ class CPLUSPLUS_EXPORT Subst
|
||||
Subst &operator = (const Subst &other);
|
||||
|
||||
public:
|
||||
Subst(Control *control, Subst *previous = 0)
|
||||
Subst(Control *control, Subst *previous = nullptr)
|
||||
: _control(control)
|
||||
, _previous(previous)
|
||||
{ }
|
||||
@@ -197,7 +197,7 @@ public:
|
||||
|
||||
Symbol *instantiate(Template *templ,
|
||||
const FullySpecifiedType *const args, int argc,
|
||||
Subst *subst = 0);
|
||||
Subst *subst = nullptr);
|
||||
|
||||
private:
|
||||
CloneType _type;
|
||||
|
||||
Reference in New Issue
Block a user