From d802d392811be44d34ae9cd23f616db93e54c50f Mon Sep 17 00:00:00 2001 From: Tillmann Karras Date: Sun, 9 Mar 2014 21:14:26 +0100 Subject: clang-modernize -use-nullptr and s/\bNULL\b/nullptr/g for *.cpp/h/mm files not compiled on my machine --- Source/Core/DolphinWX/GLInterface/Platform.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Source/Core/DolphinWX/GLInterface/Platform.cpp') diff --git a/Source/Core/DolphinWX/GLInterface/Platform.cpp b/Source/Core/DolphinWX/GLInterface/Platform.cpp index 816731a249..66f7d3ce61 100644 --- a/Source/Core/DolphinWX/GLInterface/Platform.cpp +++ b/Source/Core/DolphinWX/GLInterface/Platform.cpp @@ -62,7 +62,7 @@ bool cPlatform::SelectDisplay(void) #endif platform_env); free(platform_env); - platform_env = NULL; + platform_env = nullptr; } #if HAVE_WAYLAND if (wayland_possible) @@ -154,7 +154,7 @@ EGLDisplay cPlatform::EGLGetDisplay(void) #ifdef ANDROID return eglGetDisplay(EGL_DEFAULT_DISPLAY); #endif - return NULL; + return nullptr; } EGLNativeWindowType cPlatform::CreateWindow(void) -- cgit v1.2.3