summaryrefslogtreecommitdiffstats
path: root/src/server/LV2Plugin.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-12-25 13:59:47 -0500
committerDavid Robillard <d@drobilla.net>2017-12-25 16:26:13 -0500
commitd6a9571641bcb34acb3521feb08eea33195fd9ca (patch)
tree5c28e2800d829b7b1896e2fcbe3f8870b88e039d /src/server/LV2Plugin.cpp
parent25177612b20f7d3ebd4138fed9cd9acffec7e756 (diff)
downloadingen-d6a9571641bcb34acb3521feb08eea33195fd9ca.tar.gz
ingen-d6a9571641bcb34acb3521feb08eea33195fd9ca.tar.bz2
ingen-d6a9571641bcb34acb3521feb08eea33195fd9ca.zip
Use nullptr
Diffstat (limited to 'src/server/LV2Plugin.cpp')
-rw-r--r--src/server/LV2Plugin.cpp8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/server/LV2Plugin.cpp b/src/server/LV2Plugin.cpp
index 0ba990d0..cd29c0b1 100644
--- a/src/server/LV2Plugin.cpp
+++ b/src/server/LV2Plugin.cpp
@@ -48,11 +48,11 @@ LV2Plugin::update_properties()
LilvNode* minor = lilv_world_get(_world->lilv_world(),
lilv_plugin_get_uri(_lilv_plugin),
_uris.lv2_minorVersion,
- NULL);
+ nullptr);
LilvNode* micro = lilv_world_get(_world->lilv_world(),
lilv_plugin_get_uri(_lilv_plugin),
_uris.lv2_microVersion,
- NULL);
+ nullptr);
if (lilv_node_is_int(minor) && lilv_node_is_int(micro)) {
set_property(_uris.lv2_minorVersion,
@@ -98,7 +98,7 @@ LV2Plugin::instantiate(BufferFactory& bufs,
if (!b->instantiate(bufs, state)) {
delete b;
- return NULL;
+ return nullptr;
} else {
return b;
}
@@ -117,7 +117,7 @@ LV2Plugin::load_presets()
lilv_world_load_resource(lworld, preset);
LilvNodes* labels = lilv_world_find_nodes(
- lworld, preset, uris.rdfs_label, NULL);
+ lworld, preset, uris.rdfs_label, nullptr);
if (labels) {
const LilvNode* label = lilv_nodes_get_first(labels);