clang-modernize -use-nullptr

and s/\bNULL\b/nullptr/g for *.cpp/h/mm files not compiled on my machine
This commit is contained in:
Tillmann Karras committed 2014-03-09 21:14:26 +01:00
1 parent f28116b7da
commit d802d39281
292 files changed
+1526 -1526

No files matched your search

@@ -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)