diff options
Diffstat (limited to 'src/StickerDatabase.hxx')
-rw-r--r-- | src/StickerDatabase.hxx | 4 |
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); |