diff options
author | Denis Shienkov <denis.shienkov@gmail.com> | 2017-11-18 19:07:25 +0300 |
---|---|---|
committer | Jake Petroules <jake.petroules@qt.io> | 2017-11-20 21:03:07 +0000 |
commit | 7494bf59c28570dcc6ed6019f979e5625956c8af (patch) | |
tree | 3fb1e7fab1d064ebda1e78ffb21b06bd83e5107f /src/lib/corelib/language/value.cpp | |
parent | 95c1e81382246f5235322eeb6876f77f65b22c19 (diff) | |
download | qbs-7494bf59c28570dcc6ed6019f979e5625956c8af.tar.gz |
Use nullptr to initialize the pointers
Change-Id: I59d743f585410cb5c00d36a7b6f9a3e9d696d19e
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@qt.io>
Reviewed-by: Christian Kandeler <christian.kandeler@qt.io>
Diffstat (limited to 'src/lib/corelib/language/value.cpp')
-rw-r--r-- | src/lib/corelib/language/value.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/corelib/language/value.cpp b/src/lib/corelib/language/value.cpp index 8c3dea32c..69f7836d2 100644 --- a/src/lib/corelib/language/value.cpp +++ b/src/lib/corelib/language/value.cpp @@ -49,7 +49,7 @@ namespace qbs { namespace Internal { Value::Value(Type t, bool createdByPropertiesBlock) - : m_type(t), m_definingItem(0), m_createdByPropertiesBlock(createdByPropertiesBlock) + : m_type(t), m_definingItem(nullptr), m_createdByPropertiesBlock(createdByPropertiesBlock) { } |