From: qydysky <32743305+qydysky@users.noreply.github.com> Date: Wed, 18 Jan 2023 13:59:10 +0000 (+0800) Subject: fix X-Git-Tag: v0.21.2 X-Git-Url: http://127.0.0.1:8081/?a=commitdiff_plain;h=a0cbb85024fae3d50cdd22fb4e43bfd9f4d39c58;p=part%2F.git fix --- diff --git a/slice/Slice.go b/slice/Slice.go index 3025652..59f158a 100644 --- a/slice/Slice.go +++ b/slice/Slice.go @@ -33,7 +33,6 @@ func (t *Buf[T]) Clear() { defer t.Unlock() t.buf = nil t.bufsize = 0 - t.modified.t += 1 } func (t *Buf[T]) Size() int { @@ -55,7 +54,6 @@ func (t *Buf[T]) Reset() { defer t.Unlock() t.bufsize = 0 - t.modified.t += 1 } func (t *Buf[T]) Append(data []T) error {