From 74bc2d19e20346731c79913b7eb39a27d2a85118 Mon Sep 17 00:00:00 2001 From: chengxiang Date: Wed, 8 Jan 2025 14:34:59 +0800 Subject: [PATCH] fix(test): fix compilation error in test.cpp --- test.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test.cpp b/test.cpp index ff2c063..2a5396e 100644 --- a/test.cpp +++ b/test.cpp @@ -9,7 +9,7 @@ int main(int arv, char *argv[]) { { - TokenBucket tb(350, 1050); + TokenBucket<> tb(350, 1050); assert(tb.consume(1050)); assert(!tb.consume(1)); @@ -19,7 +19,7 @@ int main(int arv, char *argv[]) { } { - TokenBucket tb(350, 1050); + TokenBucket<> tb(350, 1050); assert(!tb.consume(1051)); }