aboutsummaryrefslogtreecommitdiffstats
path: root/src/ArchivePlugin.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-19 18:19:03 +0200
committerMax Kellermann <max@duempel.org>2013-10-19 18:19:03 +0200
commit59f8144c50765189594d5932fc25869f9ea6e265 (patch)
treef460d9f46a99040dea402bcb3ad2d84a0e734285 /src/ArchivePlugin.hxx
parent5a7c931293b55a27c3f79c6951707a8d6e2a5f6c (diff)
downloadmpd-59f8144c50765189594d5932fc25869f9ea6e265.tar.gz
mpd-59f8144c50765189594d5932fc25869f9ea6e265.tar.xz
mpd-59f8144c50765189594d5932fc25869f9ea6e265.zip
*: use nullptr instead of NULL
Diffstat (limited to 'src/ArchivePlugin.hxx')
-rw-r--r--src/ArchivePlugin.hxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/ArchivePlugin.hxx b/src/ArchivePlugin.hxx
index 38b7bccc3..cbc2e9816 100644
--- a/src/ArchivePlugin.hxx
+++ b/src/ArchivePlugin.hxx
@@ -29,14 +29,14 @@ struct archive_plugin {
const char *name;
/**
- * optional, set this to NULL if the archive plugin doesn't
+ * optional, set this to nullptr if the archive plugin doesn't
* have/need one this must false if there is an error and
* true otherwise
*/
bool (*init)(void);
/**
- * optional, set this to NULL if the archive plugin doesn't
+ * optional, set this to nullptr if the archive plugin doesn't
* have/need one
*/
void (*finish)(void);
@@ -44,13 +44,13 @@ struct archive_plugin {
/**
* tryes to open archive file and associates handle with archive
* returns pointer to handle used is all operations with this archive
- * or NULL when opening fails
+ * or nullptr when opening fails
*/
ArchiveFile *(*open)(const char *path_fs, Error &error);
/**
* suffixes handled by this plugin.
- * last element in these arrays must always be a NULL
+ * last element in these arrays must always be a nullptr
*/
const char *const*suffixes;
};