diff options
author | Kahrl <kahrl@gmx.net> | 2011-11-07 02:24:44 +0100 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2011-11-07 11:19:56 +0200 |
commit | 28660b4c1af1b1b6ac2d3fda6984bda2a1199dc1 (patch) | |
tree | 2d3a8fca8343d5f73ab1b21ded7ad7197a1654a8 /src/connection.h | |
parent | fa72e65b59364d204db8bce59989673034e59988 (diff) | |
download | minetest-28660b4c1af1b1b6ac2d3fda6984bda2a1199dc1.tar.gz minetest-28660b4c1af1b1b6ac2d3fda6984bda2a1199dc1.tar.bz2 minetest-28660b4c1af1b1b6ac2d3fda6984bda2a1199dc1.zip |
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
Diffstat (limited to 'src/connection.h')
-rw-r--r-- | src/connection.h | 4 |
1 files changed, 2 insertions, 2 deletions
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<u8> data; + Buffer<u8> data; bool timeout; Address address; @@ -489,7 +489,7 @@ struct ConnectionCommand Address address; u16 peer_id; u8 channelnum; - SharedBuffer<u8> data; + Buffer<u8> data; bool reliable; ConnectionCommand(): type(CONNCMD_NONE) {} |