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/NeighborCommands.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/command/NeighborCommands.cxx') diff --git a/src/command/NeighborCommands.cxx b/src/command/NeighborCommands.cxx index 3c171bddb..10dbe3074 100644 --- a/src/command/NeighborCommands.cxx +++ b/src/command/NeighborCommands.cxx @@ -19,6 +19,7 @@ #include "config.h" #include "NeighborCommands.hxx" +#include "Request.hxx" #include "client/Client.hxx" #include "Instance.hxx" #include "Partition.hxx" @@ -39,7 +40,7 @@ neighbor_commands_available(const Instance &instance) } CommandResult -handle_listneighbors(Client &client, gcc_unused ConstBuffer args) +handle_listneighbors(Client &client, gcc_unused Request args) { const NeighborGlue *const neighbors = client.partition.instance.neighbors; -- cgit v1.2.3