From 0f92d021a1dc2992352b635846428229d2c9ffbb Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 11 Aug 2015 22:11:28 +0200 Subject: command/Request: new struct wrapping ConstBuffer --- src/command/StickerCommands.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/command/StickerCommands.cxx') diff --git a/src/command/StickerCommands.cxx b/src/command/StickerCommands.cxx index 9dda3c65d..a28408547 100644 --- a/src/command/StickerCommands.cxx +++ b/src/command/StickerCommands.cxx @@ -19,6 +19,7 @@ #include "config.h" #include "StickerCommands.hxx" +#include "Request.hxx" #include "SongPrint.hxx" #include "db/Interface.hxx" #include "db/DatabaseGlue.hxx" @@ -52,7 +53,7 @@ sticker_song_find_print_cb(const LightSong &song, const char *value, } static CommandResult -handle_sticker_song(Client &client, ConstBuffer args) +handle_sticker_song(Client &client, Request args) { Error error; const Database *db = client.GetDatabase(error); @@ -191,7 +192,7 @@ handle_sticker_song(Client &client, ConstBuffer args) } CommandResult -handle_sticker(Client &client, ConstBuffer args) +handle_sticker(Client &client, Request args) { assert(args.size >= 3); -- cgit v1.2.3