From 9dcfd20c57e7fbe532b1629ef5aa488c93d6df1f Mon Sep 17 00:00:00 2001 From: github-action linter Date: Fri, 3 Feb 2023 18:15:08 +0000 Subject: [PATCH] Lint fix --- playlet-lib/src/source/utils/RingBuffer.bs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/playlet-lib/src/source/utils/RingBuffer.bs b/playlet-lib/src/source/utils/RingBuffer.bs index 572362ac..0fb8f34b 100644 --- a/playlet-lib/src/source/utils/RingBuffer.bs +++ b/playlet-lib/src/source/utils/RingBuffer.bs @@ -11,12 +11,12 @@ class RingBuffer m.index = 0 end function - function Push(tvalue As Dynamic) + function Push(tvalue as dynamic) m.array[m.index] = tvalue - m.index = (m.index + 1) MOD m.size + m.index = (m.index + 1) mod m.size end function - function Contains(tvalue As Dynamic) as boolean + function Contains(tvalue as dynamic) as boolean return ArrayIndexOf(m.array, tvalue) <> -1 end function end class