summaryrefslogtreecommitdiffstats
path: root/src/AtomReader.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2018-09-29 12:34:41 +0200
committerDavid Robillard <d@drobilla.net>2018-09-29 12:34:41 +0200
commit6244d73850074631ceaaccdf7f755970323f8de2 (patch)
tree46a849e9d527051c8849fc768ea0b0917492ae31 /src/AtomReader.cpp
parente0e437c0fd970103685db2f1d0c83a9c461ad87f (diff)
downloadingen-6244d73850074631ceaaccdf7f755970323f8de2.tar.gz
ingen-6244d73850074631ceaaccdf7f755970323f8de2.tar.bz2
ingen-6244d73850074631ceaaccdf7f755970323f8de2.zip
Use nullptr
Diffstat (limited to 'src/AtomReader.cpp')
-rw-r--r--src/AtomReader.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/AtomReader.cpp b/src/AtomReader.cpp
index 209966cf..cc47498f 100644
--- a/src/AtomReader.cpp
+++ b/src/AtomReader.cpp
@@ -156,7 +156,7 @@ AtomReader::write(const LV2_Atom* msg, int32_t default_id)
lv2_atom_object_get(obj,
(LV2_URID)_uris.patch_subject, &subject,
(LV2_URID)_uris.patch_sequenceNumber, &number,
- NULL);
+ nullptr);
const boost::optional<URI> subject_uri = atom_to_uri(subject);
@@ -187,7 +187,7 @@ AtomReader::write(const LV2_Atom* msg, int32_t default_id)
(LV2_URID)_uris.ingen_tail, &tail,
(LV2_URID)_uris.ingen_head, &head,
(LV2_URID)_uris.ingen_incidentTo, &incidentTo,
- NULL);
+ nullptr);
boost::optional<Raul::Path> subject_path(atom_to_path(subject));
boost::optional<Raul::Path> tail_path(atom_to_path(tail));
@@ -223,7 +223,7 @@ AtomReader::write(const LV2_Atom* msg, int32_t default_id)
lv2_atom_object_get(body,
(LV2_URID)_uris.ingen_tail, &tail,
(LV2_URID)_uris.ingen_head, &head,
- NULL);
+ nullptr);
if (!tail || !head) {
_log.warn("Arc has no tail or head\n");
return false;