summaryrefslogtreecommitdiffstats
path: root/lilv
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-07-21 19:40:42 +0200
committerDavid Robillard <d@drobilla.net>2020-07-21 19:40:42 +0200
commit29bcb8c03925f069afa48c03ed12c400e8ea36f1 (patch)
tree5d53eb6767afae43941488815a6747c8d798739d /lilv
parent1ba75a48418168bb3d366346a92c4aae87f8d83b (diff)
downloadlilv-29bcb8c03925f069afa48c03ed12c400e8ea36f1.tar.gz
lilv-29bcb8c03925f069afa48c03ed12c400e8ea36f1.tar.bz2
lilv-29bcb8c03925f069afa48c03ed12c400e8ea36f1.zip
Use nullptr in C++ header
Diffstat (limited to 'lilv')
-rw-r--r--lilv/lilvmm.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/lilv/lilvmm.hpp b/lilv/lilvmm.hpp
index cf719dd..4a90e6d 100644
--- a/lilv/lilvmm.hpp
+++ b/lilv/lilvmm.hpp
@@ -269,7 +269,7 @@ struct Instance {
LILV_DEPRECATED
inline Instance(Plugin plugin, double sample_rate) {
- me = lilv_plugin_instantiate(plugin, sample_rate, NULL);
+ me = lilv_plugin_instantiate(plugin, sample_rate, nullptr);
}
LILV_DEPRECATED inline Instance(Plugin plugin,
@@ -284,7 +284,7 @@ struct Instance {
LilvInstance* me = lilv_plugin_instantiate(
plugin, sample_rate, features);
- return me ? new Instance(me) : NULL;
+ return me ? new Instance(me) : nullptr;
}
LILV_WRAP_CONVERSION(LilvInstance);