summaryrefslogtreecommitdiffstats
path: root/src/server/PortImpl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/PortImpl.cpp')
-rw-r--r--src/server/PortImpl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/server/PortImpl.cpp b/src/server/PortImpl.cpp
index 50a48fbd..a3abe825 100644
--- a/src/server/PortImpl.cpp
+++ b/src/server/PortImpl.cpp
@@ -77,7 +77,7 @@ PortImpl::PortImpl(BufferFactory& bufs,
, _is_driver_port(false)
, _is_output(is_output)
{
- assert(block != NULL);
+ assert(block != nullptr);
assert(_poly > 0);
const Ingen::URIs& uris = bufs.uris();
@@ -398,7 +398,7 @@ void
PortImpl::recycle_buffers()
{
for (uint32_t v = 0; v < _poly; ++v)
- _voices->at(v).buffer = NULL;
+ _voices->at(v).buffer = nullptr;
}
void