aboutsummaryrefslogtreecommitdiffhomepage
path: root/tdutils/test
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2023-05-18 13:09:59 +0300
committerlevlam <levlam@telegram.org>2023-05-18 13:09:59 +0300
commitbd480941a1ab80834b9213c1dd2b3d279b12fd2f (patch)
treec24e528e41d72a2fe4e175535cf3c767f34dc140 /tdutils/test
parent3d06cdd94e2d6d1aa71fd5a105a90040165cbec7 (diff)
Fix AsyncFileLog test.
Diffstat (limited to 'tdutils/test')
-rw-r--r--tdutils/test/log.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tdutils/test/log.cpp b/tdutils/test/log.cpp
index 7700f7bfa..707300248 100644
--- a/tdutils/test/log.cpp
+++ b/tdutils/test/log.cpp
@@ -168,7 +168,7 @@ TEST(Log, Bench) {
class AsyncFileLog final : public td::LogInterface {
public:
AsyncFileLog() {
- file_log_.init("tmplog", std::numeric_limits<td::int64>::max()).ensure();
+ file_log_.init("tmplog", std::numeric_limits<td::int64>::max(), false).ensure();
}
void do_append(int log_level, td::CSlice slice) final {
static_cast<td::LogInterface &>(file_log_).do_append(log_level, slice);