summaryrefslogtreecommitdiffstats
path: root/src/LV2Features.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/LV2Features.cpp')
-rw-r--r--src/LV2Features.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/LV2Features.cpp b/src/LV2Features.cpp
index 3465981e..eac86662 100644
--- a/src/LV2Features.cpp
+++ b/src/LV2Features.cpp
@@ -43,7 +43,7 @@ LV2Features::FeatureArray::FeatureArray(FeatureVector& features)
: _features(features)
{
_array = (LV2_Feature**)malloc(sizeof(LV2_Feature*) * (features.size() + 1));
- _array[features.size()] = NULL;
+ _array[features.size()] = nullptr;
for (size_t i = 0; i < features.size(); ++i) {
_array[i] = features[i].get();
}