From 28660b4c1af1b1b6ac2d3fda6984bda2a1199dc1 Mon Sep 17 00:00:00 2001 From: Kahrl Date: Mon, 7 Nov 2011 02:24:44 +0100 Subject: utility.h: Change Buffer's interface to be more compatible with SharedBuffer's interface, connection.h: use Buffer instead of SharedBuffer in command and event queues --- src/connection.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/connection.h') diff --git a/src/connection.h b/src/connection.h index 570bc92ab..dc61394fa 100644 --- a/src/connection.h +++ b/src/connection.h @@ -430,7 +430,7 @@ struct ConnectionEvent { enum ConnectionEventType type; u16 peer_id; - SharedBuffer data; + Buffer data; bool timeout; Address address; @@ -489,7 +489,7 @@ struct ConnectionCommand Address address; u16 peer_id; u8 channelnum; - SharedBuffer data; + Buffer data; bool reliable; ConnectionCommand(): type(CONNCMD_NONE) {} -- cgit v1.2.3