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/LV2Plugin.cpp | |
parent | 25177612b20f7d3ebd4138fed9cd9acffec7e756 (diff) | |
download | ingen-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.cpp | 8 |
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); |