summaryrefslogtreecommitdiffstats
path: root/src/server/RunContext.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/RunContext.cpp')
-rw-r--r--src/server/RunContext.cpp4
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), &note) == 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);