aboutsummaryrefslogtreecommitdiff
path: root/common/xmlparser.h
diff options
context:
space:
mode:
authorBastien Bouclet2018-04-05 20:25:28 +0200
committerBastien Bouclet2018-05-10 08:35:46 +0200
commit955e18c64874203b6f7156835d7d8458b6fb54de (patch)
tree8a165d5aabdb7acbfabd0ca7286485f3980d4014 /common/xmlparser.h
parent82296866b4f79798d1fd5085bfd91fa2fb829d6a (diff)
downloadscummvm-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/xmlparser.h')
-rw-r--r--common/xmlparser.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/xmlparser.h b/common/xmlparser.h
index 1e474b596c..2e4596ac0f 100644
--- a/common/xmlparser.h
+++ b/common/xmlparser.h
@@ -92,7 +92,7 @@ public:
/**
* Parser constructor.
*/
- XMLParser() : _XMLkeys(0), _stream(0) {}
+ XMLParser() : _XMLkeys(nullptr), _stream(nullptr) {}
virtual ~XMLParser();
@@ -195,7 +195,7 @@ public:
if (!_activeKey.empty())
return _activeKey.top();
- return 0;
+ return nullptr;
}
/**