diff options
author | Max Kellermann <max@duempel.org> | 2013-10-19 18:19:03 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-10-19 18:19:03 +0200 |
commit | 59f8144c50765189594d5932fc25869f9ea6e265 (patch) | |
tree | f460d9f46a99040dea402bcb3ad2d84a0e734285 /src/Directory.hxx | |
parent | 5a7c931293b55a27c3f79c6951707a8d6e2a5f6c (diff) |
*: use nullptr instead of NULL
Diffstat (limited to 'src/Directory.hxx')
-rw-r--r-- | src/Directory.hxx | 6 |
1 files changed, 3 insertions, 3 deletions
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); |