From a554fa9f7d35679c36cb9149a080d9f8a1e5cbe4 Mon Sep 17 00:00:00 2001 From: lukaslw Date: Wed, 8 Oct 2014 18:09:18 +0200 Subject: PRINCE: Changing all occurrences of NULL to nullptr To beconsistent and to keep just one of them --- engines/prince/archive.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'engines/prince/archive.cpp') diff --git a/engines/prince/archive.cpp b/engines/prince/archive.cpp index 28f77cb4c4..bc5d5d3818 100644 --- a/engines/prince/archive.cpp +++ b/engines/prince/archive.cpp @@ -29,7 +29,7 @@ namespace Prince { -PtcArchive::PtcArchive() : _stream(NULL) { +PtcArchive::PtcArchive() : _stream(nullptr) { } PtcArchive::~PtcArchive() { @@ -81,7 +81,7 @@ bool PtcArchive::open(const Common::String &filename) { void PtcArchive::close() { delete _stream; - _stream = NULL; + _stream = nullptr; _items.clear(); } -- cgit v1.2.3