Use nullptr instead of NULL
diff --git a/src/hb-blob.cc b/src/hb-blob.cc
index 41e99da..e390d75 100644
--- a/src/hb-blob.cc
+++ b/src/hb-blob.cc
@@ -72,8 +72,8 @@
{
if (blob->destroy) {
blob->destroy (blob->user_data);
- blob->user_data = NULL;
- blob->destroy = NULL;
+ blob->user_data = nullptr;
+ blob->destroy = nullptr;
}
}
@@ -194,12 +194,12 @@
true, /* immutable */
- NULL, /* data */
+ nullptr, /* data */
0, /* length */
HB_MEMORY_MODE_READONLY, /* mode */
- NULL, /* user_data */
- NULL /* destroy */
+ nullptr, /* user_data */
+ nullptr /* destroy */
};
return const_cast<hb_blob_t *> (&_hb_blob_nil);
@@ -379,7 +379,7 @@
if (length)
*length = 0;
- return NULL;
+ return nullptr;
}
if (length)