summaryrefslogtreecommitdiff
path: root/Source/Core/DolphinWX/MainNoGUI.cpp
diff options
context:
space:
mode:
authorTillmann Karras <tilkax@gmail.com>2014-03-09 21:14:26 +0100
committerTillmann Karras <tilkax@gmail.com>2014-03-09 21:14:26 +0100
commitd802d392811be44d34ae9cd23f616db93e54c50f (patch)
treef9aa8831a0731ea246bd921d979f4bffa7f07bd0 /Source/Core/DolphinWX/MainNoGUI.cpp
parentf28116b7da6aac6069084596dc4dbf866bdebfd8 (diff)
clang-modernize -use-nullptr
and s/\bNULL\b/nullptr/g for *.cpp/h/mm files not compiled on my machine
Diffstat (limited to 'Source/Core/DolphinWX/MainNoGUI.cpp')
-rw-r--r--Source/Core/DolphinWX/MainNoGUI.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/Source/Core/DolphinWX/MainNoGUI.cpp b/Source/Core/DolphinWX/MainNoGUI.cpp
index 122a0281f3..ffb3522eae 100644
--- a/Source/Core/DolphinWX/MainNoGUI.cpp
+++ b/Source/Core/DolphinWX/MainNoGUI.cpp
@@ -60,10 +60,10 @@ void Host_Message(int Id)
void* Host_GetRenderHandle()
{
- return NULL;
+ return nullptr;
}
-void* Host_GetInstance() { return NULL; }
+void* Host_GetInstance() { return nullptr; }
void Host_UpdateTitle(const char* title){};
@@ -293,10 +293,10 @@ int main(int argc, char* argv[])
#endif
int ch, help = 0;
struct option longopts[] = {
- { "exec", no_argument, NULL, 'e' },
- { "help", no_argument, NULL, 'h' },
- { "version", no_argument, NULL, 'v' },
- { NULL, 0, NULL, 0 }
+ { "exec", no_argument, nullptr, 'e' },
+ { "help", no_argument, nullptr, 'h' },
+ { "version", no_argument, nullptr, 'v' },
+ { nullptr, 0, nullptr, 0 }
};
while ((ch = getopt_long(argc, argv, "eh?v", longopts, 0)) != -1)
@@ -337,7 +337,7 @@ int main(int argc, char* argv[])
GLWin.platform = EGL_PLATFORM_NONE;
#endif
#if HAVE_WAYLAND
- GLWin.wl_display = NULL;
+ GLWin.wl_display = nullptr;
#endif
// No use running the loop when booting fails