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/InputStream.hxx | |
parent | 5a7c931293b55a27c3f79c6951707a8d6e2a5f6c (diff) | |
download | mpd-59f8144c50765189594d5932fc25869f9ea6e265.tar.gz mpd-59f8144c50765189594d5932fc25869f9ea6e265.tar.xz mpd-59f8144c50765189594d5932fc25869f9ea6e265.zip |
*: use nullptr instead of NULL
Diffstat (limited to '')
-rw-r--r-- | src/InputStream.hxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/InputStream.hxx b/src/InputStream.hxx index 2a3d7b2cd..ac774f723 100644 --- a/src/InputStream.hxx +++ b/src/InputStream.hxx @@ -60,7 +60,7 @@ struct input_stream { /** * A cond that gets signalled when the state of this object * changes from the I/O thread. The client of this object may - * wait on it. Optional, may be NULL. + * wait on it. Optional, may be nullptr. * * This object is allocated by the client, and the client is * responsible for freeing it. @@ -99,7 +99,7 @@ struct input_stream { mutex(_mutex), cond(_cond), ready(false), seekable(false), size(-1), offset(0) { - assert(_uri != NULL); + assert(_uri != nullptr); } /** @@ -109,9 +109,9 @@ struct input_stream { * @param mutex a mutex that is used to protect this object; must be * locked before calling any of the public methods * @param cond a cond that gets signalled when the state of - * this object changes; may be NULL if the caller doesn't want to get + * this object changes; may be nullptr if the caller doesn't want to get * notifications - * @return an #input_stream object on success, NULL on error + * @return an #input_stream object on success, nullptr on error */ gcc_nonnull_all gcc_malloc |