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/TagCommands.cxx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/command/TagCommands.cxx') diff --git a/src/command/TagCommands.cxx b/src/command/TagCommands.cxx index bf5b67511..8997c84c3 100644 --- a/src/command/TagCommands.cxx +++ b/src/command/TagCommands.cxx @@ -19,6 +19,7 @@ #include "config.h" #include "TagCommands.hxx" +#include "Request.hxx" #include "CommandError.hxx" #include "client/Client.hxx" #include "protocol/ArgParser.hxx" @@ -28,7 +29,7 @@ #include "util/ConstBuffer.hxx" CommandResult -handle_addtagid(Client &client, ConstBuffer args) +handle_addtagid(Client &client, Request args) { unsigned song_id; if (!check_unsigned(client, &song_id, args.front())) @@ -53,7 +54,7 @@ handle_addtagid(Client &client, ConstBuffer args) } CommandResult -handle_cleartagid(Client &client, ConstBuffer args) +handle_cleartagid(Client &client, Request args) { unsigned song_id; if (!check_unsigned(client, &song_id, args.front())) -- cgit v1.2.3