From 44b3657c414ad850ef46d6b7c13a48ab3130cb32 Mon Sep 17 00:00:00 2001 From: =?utf8?q?J=C3=A9r=C3=B4me=20Benoit?= Date: Fri, 16 Jun 2023 11:07:26 +0200 Subject: [PATCH] refactor: queue code cleanups MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Jérôme Benoit --- src/queue.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/queue.ts b/src/queue.ts index 8b761c8f..7aad6d06 100644 --- a/src/queue.ts +++ b/src/queue.ts @@ -13,9 +13,9 @@ export class Queue { public constructor () { this.items = [] + this.offset = 0 /** The size of the queue. */ this.size = 0 - this.offset = 0 /** The maximum size of the queue. */ this.maxSize = 0 } -- 2.34.1