aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/online.cpp
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2022-06-21 02:02:48 +0300
committerlevlam <levlam@telegram.org>2022-06-21 02:02:48 +0300
commitee926f86a3b83935ef0814fd2796776357e64908 (patch)
tree6bac49e12b7ee338488f79dad0e12812d61d9c58 /test/online.cpp
parent1528cfb9da0062f80b6d914673b01a8555964c1b (diff)
Move directory creation and database check to another thread.
Diffstat (limited to 'test/online.cpp')
-rw-r--r--test/online.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/online.cpp b/test/online.cpp
index 6895c8781..458e4ba4e 100644
--- a/test/online.cpp
+++ b/test/online.cpp
@@ -440,7 +440,7 @@ class TestDownloadFile : public Task {
begin = end;
}
- std::random_shuffle(as_mutable_span(ranges_), rnd);
+ random_shuffle(as_mutable_span(ranges_), rnd);
start_chunk();
}