From 20597b3632d3b6e25ba532716106f90d5b64d0e8 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 28 Oct 2013 23:58:17 +0100 Subject: *: use nullptr instead of NULL --- src/tag/Tag.hxx | 6 +++--- src/tag/TagId3.hxx | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/tag') diff --git a/src/tag/Tag.hxx b/src/tag/Tag.hxx index 4d8f1a4e8..5846e7a9d 100644 --- a/src/tag/Tag.hxx +++ b/src/tag/Tag.hxx @@ -131,7 +131,7 @@ struct Tag { static Tag *Merge(const Tag &base, const Tag &add); /** - * Merges the data from two tags. Any of the two may be NULL. Both + * Merges the data from two tags. Any of the two may be nullptr. Both * are freed by this function. * * @return a newly allocated tag @@ -140,8 +140,8 @@ struct Tag { static Tag *MergeReplace(Tag *base, Tag *add); /** - * Returns the first value of the specified tag type, or NULL if none - * is present in this tag object. + * Returns the first value of the specified tag type, or + * nullptr if none is present in this tag object. */ gcc_pure const char *GetValue(TagType type) const; diff --git a/src/tag/TagId3.hxx b/src/tag/TagId3.hxx index 44d890337..749166116 100644 --- a/src/tag/TagId3.hxx +++ b/src/tag/TagId3.hxx @@ -42,7 +42,7 @@ tag_id3_import(struct id3_tag *); * Loads the ID3 tags from the file into a libid3tag object. The * return value must be freed with id3_tag_delete(). * - * @return NULL on error or if no ID3 tag was found in the file (no + * @return nullptr on error or if no ID3 tag was found in the file (no * Error will be set) */ struct id3_tag * -- cgit v1.2.3