From d6a9571641bcb34acb3521feb08eea33195fd9ca Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 25 Dec 2017 13:59:47 -0500 Subject: Use nullptr --- src/client/PluginModel.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/client/PluginModel.cpp') 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) { -- cgit v1.2.1