diff options
author | David Robillard <d@drobilla.net> | 2017-12-25 13:59:47 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2017-12-25 16:26:13 -0500 |
commit | d6a9571641bcb34acb3521feb08eea33195fd9ca (patch) | |
tree | 5c28e2800d829b7b1896e2fcbe3f8870b88e039d /src/server/RunContext.cpp | |
parent | 25177612b20f7d3ebd4138fed9cd9acffec7e756 (diff) | |
download | ingen-d6a9571641bcb34acb3521feb08eea33195fd9ca.tar.gz ingen-d6a9571641bcb34acb3521feb08eea33195fd9ca.tar.bz2 ingen-d6a9571641bcb34acb3521feb08eea33195fd9ca.zip |
Use nullptr
Diffstat (limited to 'src/server/RunContext.cpp')
-rw-r--r-- | src/server/RunContext.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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); |