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
2014-03-09 21:14:26 +01:00
parent f28116b7da
commit d802d39281
292 changed files with 1526 additions and 1526 deletions

View File

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