diff options
author | Bastien Bouclet | 2018-04-05 20:25:28 +0200 |
---|---|---|
committer | Bastien Bouclet | 2018-05-10 08:35:46 +0200 |
commit | 955e18c64874203b6f7156835d7d8458b6fb54de (patch) | |
tree | 8a165d5aabdb7acbfabd0ca7286485f3980d4014 /common/list_intern.h | |
parent | 82296866b4f79798d1fd5085bfd91fa2fb829d6a (diff) | |
download | scummvm-rg350-955e18c64874203b6f7156835d7d8458b6fb54de.tar.gz scummvm-rg350-955e18c64874203b6f7156835d7d8458b6fb54de.tar.bz2 scummvm-rg350-955e18c64874203b6f7156835d7d8458b6fb54de.zip |
COMMON: Use nullptr instead of NULL or 0 where appropriate
Diffstat (limited to 'common/list_intern.h')
-rw-r--r-- | common/list_intern.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/list_intern.h b/common/list_intern.h index b4f347561b..37f9259e54 100644 --- a/common/list_intern.h +++ b/common/list_intern.h @@ -55,7 +55,7 @@ namespace ListInternal { NodeBase *_node; - Iterator() : _node(0) {} + Iterator() : _node(nullptr) {} explicit Iterator(NodeBase *node) : _node(node) {} // Prefix inc @@ -108,7 +108,7 @@ namespace ListInternal { const NodeBase *_node; - ConstIterator() : _node(0) {} + ConstIterator() : _node(nullptr) {} explicit ConstIterator(const NodeBase *node) : _node(node) {} ConstIterator(const Iterator<T> &x) : _node(x._node) {} |