From 955e18c64874203b6f7156835d7d8458b6fb54de Mon Sep 17 00:00:00 2001 From: Bastien Bouclet Date: Thu, 5 Apr 2018 20:25:28 +0200 Subject: COMMON: Use nullptr instead of NULL or 0 where appropriate --- common/archive.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'common/archive.cpp') diff --git a/common/archive.cpp b/common/archive.cpp index b4fc7c12c7..7e189654a6 100644 --- a/common/archive.cpp +++ b/common/archive.cpp @@ -253,7 +253,7 @@ const ArchiveMemberPtr SearchSet::getMember(const String &name) const { SeekableReadStream *SearchSet::createReadStreamForMember(const String &name) const { if (name.empty()) - return 0; + return nullptr; ArchiveNodeList::const_iterator it = _list.begin(); for (; it != _list.end(); ++it) { @@ -262,7 +262,7 @@ SeekableReadStream *SearchSet::createReadStreamForMember(const String &name) con return stream; } - return 0; + return nullptr; } -- cgit v1.2.3