diff options
author | Tiger Wang <ziwei.tiger@outlook.com> | 2021-07-10 22:04:49 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-10 22:04:49 +0200 |
commit | e9265b1d0129e56b9b665019697055bd63229fde (patch) | |
tree | 611a2026e0e9ca9bb1de62170d79b9906d112e6f /src/Protocol/Protocol.h | |
parent | Item frame maps (#5258) (diff) | |
download | cuberite-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 'src/Protocol/Protocol.h')
-rw-r--r-- | src/Protocol/Protocol.h | 2 |
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. |