aboutsummaryrefslogtreecommitdiffstats
path: root/src/StickerDatabase.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-10-19 18:48:38 +0200
committerMax Kellermann <max@duempel.org>2013-10-19 18:48:38 +0200
commitff626ac76357940b2f0ac5cb243a68ac13df0f8a (patch)
tree493888a28950f75f5e254c0ded9dc9703ee83dc3 /src/StickerDatabase.hxx
parent59f8144c50765189594d5932fc25869f9ea6e265 (diff)
downloadmpd-ff626ac76357940b2f0ac5cb243a68ac13df0f8a.tar.gz
mpd-ff626ac76357940b2f0ac5cb243a68ac13df0f8a.tar.xz
mpd-ff626ac76357940b2f0ac5cb243a68ac13df0f8a.zip
*: use references instead of pointers
Diffstat (limited to 'src/StickerDatabase.hxx')
-rw-r--r--src/StickerDatabase.hxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/StickerDatabase.hxx b/src/StickerDatabase.hxx
index 5b50c6e6f..42522b7b4 100644
--- a/src/StickerDatabase.hxx
+++ b/src/StickerDatabase.hxx
@@ -117,7 +117,7 @@ sticker_free(struct sticker *sticker);
*/
gcc_pure
const char *
-sticker_get_value(const struct sticker *sticker, const char *name);
+sticker_get_value(const struct sticker &sticker, const char *name);
/**
* Iterates over all sticker items in a sticker.
@@ -127,7 +127,7 @@ sticker_get_value(const struct sticker *sticker, const char *name);
* @param user_data an opaque pointer for the callback function
*/
void
-sticker_foreach(const struct sticker *sticker,
+sticker_foreach(const struct sticker &sticker,
void (*func)(const char *name, const char *value,
void *user_data),
void *user_data);