1
0
mirror of https://github.com/fumiama/orbyte.git synced 2026-06-06 02:30:30 +08:00

fix(pbuf): pooler copy user data

This commit is contained in:
源文雨
2025-03-01 00:59:46 +09:00
parent f362cad044
commit d5a1795eb2

View File

@@ -78,6 +78,7 @@ func (bufpooler[USRDAT]) Copy(dst, src *UserBuffer[USRDAT]) {
dst.Reset()
srccp := *src
_, err := io.Copy(dst, &srccp)
dst.DAT = srccp.DAT
if err != nil {
panic(err)
}