aboutsummaryrefslogtreecommitdiffstats
path: root/src/GlobalEvents.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'src/GlobalEvents.cxx')
-rw-r--r--src/GlobalEvents.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/GlobalEvents.cxx b/src/GlobalEvents.cxx
index 0a9354bec..86bfb3e2a 100644
--- a/src/GlobalEvents.cxx
+++ b/src/GlobalEvents.cxx
@@ -49,7 +49,7 @@ static void
InvokeGlobalEvent(GlobalEvents::Event event)
{
assert((unsigned)event < GlobalEvents::MAX);
- assert(GlobalEvents::handlers[event] != NULL);
+ assert(GlobalEvents::handlers[event] != nullptr);
GlobalEvents::handlers[event]();
}
@@ -81,7 +81,7 @@ void
GlobalEvents::Register(Event event, Handler callback)
{
assert((unsigned)event < MAX);
- assert(handlers[event] == NULL);
+ assert(handlers[event] == nullptr);
handlers[event] = callback;
}