From 59f8144c50765189594d5932fc25869f9ea6e265 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 19 Oct 2013 18:19:03 +0200 Subject: *: use nullptr instead of NULL --- src/Directory.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Directory.hxx') diff --git a/src/Directory.hxx b/src/Directory.hxx index d7eec3c97..2c46227c4 100644 --- a/src/Directory.hxx +++ b/src/Directory.hxx @@ -164,7 +164,7 @@ public: * Looks up a directory by its relative URI. * * @param uri the relative URI - * @return the Directory, or NULL if none was found + * @return the Directory, or nullptr if none was found */ gcc_pure Directory *LookupDirectory(const char *uri); @@ -192,7 +192,7 @@ public: */ gcc_pure bool IsRoot() const { - return parent == NULL; + return parent == nullptr; } /** @@ -215,7 +215,7 @@ public: * Caller must lock the #db_mutex. * * @param uri the relative URI - * @return the song, or NULL if none was found + * @return the song, or nullptr if none was found */ gcc_pure Song *LookupSong(const char *uri); -- cgit v1.2.3