summaryrefslogtreecommitdiffstats
path: root/src/Protocol/Protocol.h
diff options
context:
space:
mode:
authorTiger Wang <ziwei.tiger@outlook.com>2021-07-10 22:04:49 +0200
committerGitHub <noreply@github.com>2021-07-10 22:04:49 +0200
commite9265b1d0129e56b9b665019697055bd63229fde (patch)
tree611a2026e0e9ca9bb1de62170d79b9906d112e6f /src/Protocol/Protocol.h
parentItem frame maps (#5258) (diff)
downloadcuberite-e9265b1d0129e56b9b665019697055bd63229fde.tar
cuberite-e9265b1d0129e56b9b665019697055bd63229fde.tar.gz
cuberite-e9265b1d0129e56b9b665019697055bd63229fde.tar.bz2
cuberite-e9265b1d0129e56b9b665019697055bd63229fde.tar.lz
cuberite-e9265b1d0129e56b9b665019697055bd63229fde.tar.xz
cuberite-e9265b1d0129e56b9b665019697055bd63229fde.tar.zst
cuberite-e9265b1d0129e56b9b665019697055bd63229fde.zip
Diffstat (limited to '')
-rw-r--r--src/Protocol/Protocol.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Protocol/Protocol.h b/src/Protocol/Protocol.h
index de420308b..f306abc1c 100644
--- a/src/Protocol/Protocol.h
+++ b/src/Protocol/Protocol.h
@@ -348,7 +348,7 @@ public:
/** Called by cClientHandle to process data, when the client sends some.
The protocol uses the provided buffers for storage and processing, and must have exclusive access to them. */
- virtual void DataReceived(cByteBuffer & a_Buffer, ContiguousByteBuffer && a_Data) = 0;
+ virtual void DataReceived(cByteBuffer & a_Buffer, ContiguousByteBuffer & a_Data) = 0;
/** Called by cClientHandle to finalise a buffer of prepared data before they are sent to the client.
Descendants may for example, encrypt the data if needed.