From 0537414bafe80e5e32486672ddce82581fb5e1c3 Mon Sep 17 00:00:00 2001 From: Filip Gawin Date: Mon, 7 Jan 2019 12:37:13 +0100 Subject: Use nullptr in cpp files --- OpenAL32/alFilter.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'OpenAL32/alFilter.cpp') diff --git a/OpenAL32/alFilter.cpp b/OpenAL32/alFilter.cpp index c4416a38..69a148b6 100644 --- a/OpenAL32/alFilter.cpp +++ b/OpenAL32/alFilter.cpp @@ -292,7 +292,7 @@ ALfilter *AllocFilter(ALCcontext *context) if(UNLIKELY(device->FilterList.size() >= 1<<25)) { alSetError(context, AL_OUT_OF_MEMORY, "Too many filters allocated"); - return NULL; + return nullptr; } device->FilterList.emplace_back(); sublist = device->FilterList.end() - 1; @@ -302,7 +302,7 @@ ALfilter *AllocFilter(ALCcontext *context) { device->FilterList.pop_back(); alSetError(context, AL_OUT_OF_MEMORY, "Failed to allocate filter batch"); - return NULL; + return nullptr; } slidx = 0; -- cgit v1.2.3