From d6a9571641bcb34acb3521feb08eea33195fd9ca Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 25 Dec 2017 13:59:47 -0500 Subject: Use nullptr --- src/server/RunContext.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/server/RunContext.cpp') diff --git a/src/server/RunContext.cpp b/src/server/RunContext.cpp index b2e3f269..d065c41f 100644 --- a/src/server/RunContext.cpp +++ b/src/server/RunContext.cpp @@ -30,7 +30,7 @@ namespace Server { struct Notification { - inline Notification(PortImpl* p = 0, + inline Notification(PortImpl* p = nullptr, FrameTime f = 0, LV2_URID k = 0, uint32_t s = 0, @@ -115,7 +115,7 @@ RunContext::emit_notifications(FrameTime end) } if (_event_sink->read(sizeof(note), ¬e) == sizeof(note)) { Atom value = _engine.world()->forge().alloc( - note.size, note.type, NULL); + note.size, note.type, nullptr); if (_event_sink->read(note.size, value.get_body()) == note.size) { i += note.size; const char* key = _engine.world()->uri_map().unmap_uri(note.key); -- cgit v1.2.1