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/Buffer.hpp | |
parent | 25177612b20f7d3ebd4138fed9cd9acffec7e756 (diff) | |
download | ingen-d6a9571641bcb34acb3521feb08eea33195fd9ca.tar.gz ingen-d6a9571641bcb34acb3521feb08eea33195fd9ca.tar.bz2 ingen-d6a9571641bcb34acb3521feb08eea33195fd9ca.zip |
Use nullptr
Diffstat (limited to 'src/server/Buffer.hpp')
-rw-r--r-- | src/server/Buffer.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/server/Buffer.hpp b/src/server/Buffer.hpp index f4e147ea..6d42b979 100644 --- a/src/server/Buffer.hpp +++ b/src/server/Buffer.hpp @@ -45,7 +45,7 @@ public: LV2_URID value_type, uint32_t capacity, bool external = false, - void* buf = NULL); + void* buf = nullptr); void clear(); void resize(uint32_t capacity); @@ -91,7 +91,7 @@ public: } else if (is_audio()) { return (const Sample*)_buf; } - return NULL; + return nullptr; } /// Audio buffers only @@ -101,7 +101,7 @@ public: } else if (is_audio()) { return (Sample*)_buf; } - return NULL; + return nullptr; } /// Numeric buffers only |