summaryrefslogtreecommitdiffstats
path: root/src/client/PluginModel.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/client/PluginModel.cpp
parent25177612b20f7d3ebd4138fed9cd9acffec7e756 (diff)
downloadingen-d6a9571641bcb34acb3521feb08eea33195fd9ca.tar.gz
ingen-d6a9571641bcb34acb3521feb08eea33195fd9ca.tar.bz2
ingen-d6a9571641bcb34acb3521feb08eea33195fd9ca.zip
Use nullptr
Diffstat (limited to 'src/client/PluginModel.cpp')
-rw-r--r--src/client/PluginModel.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/client/PluginModel.cpp b/src/client/PluginModel.cpp
index 353b0f5c..91bda703 100644
--- a/src/client/PluginModel.cpp
+++ b/src/client/PluginModel.cpp
@@ -35,10 +35,10 @@ using namespace std;
namespace Ingen {
namespace Client {
-LilvWorld* PluginModel::_lilv_world = NULL;
-const LilvPlugins* PluginModel::_lilv_plugins = NULL;
+LilvWorld* PluginModel::_lilv_world = nullptr;
+const LilvPlugins* PluginModel::_lilv_plugins = nullptr;
-Sord::World* PluginModel::_rdf_world = NULL;
+Sord::World* PluginModel::_rdf_world = nullptr;
PluginModel::PluginModel(URIs& uris,
const Raul::URI& uri,
@@ -279,11 +279,11 @@ PluginModel::get_documentation(const LilvNode* subject, bool html) const
LILV_NS_RDFS "comment");
LilvNodes* vals = lilv_world_find_nodes(
- _lilv_world, subject, lv2_documentation, NULL);
+ _lilv_world, subject, lv2_documentation, nullptr);
const bool doc_is_html = vals;
if (!vals) {
vals = lilv_world_find_nodes(
- _lilv_world, subject, rdfs_comment, NULL);
+ _lilv_world, subject, rdfs_comment, nullptr);
}
if (vals) {