diff options
| author | levlam <levlam@telegram.org> | 2022-09-14 15:06:52 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2022-09-14 15:06:52 +0300 |
| commit | 1ac2dfef30d53183ade197fdac26e05720214a39 (patch) | |
| tree | 00a09c5fe485b08dd6fdba6470c9dd4fea3be32b /test/online.cpp | |
| parent | 70e3586626f8fe3edb878eb94b36abb1dafdf0cb (diff) | |
Replace ConcurrentScheduler::init with constructor.
Diffstat (limited to 'test/online.cpp')
| -rw-r--r-- | test/online.cpp | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/test/online.cpp b/test/online.cpp index f472c6ae8..6bcdcec83 100644 --- a/test/online.cpp +++ b/test/online.cpp @@ -617,8 +617,7 @@ int main(int argc, char **argv) { } SET_VERBOSITY_LEVEL(new_verbosity_level); - td::ConcurrentScheduler sched; - sched.init(4); + td::ConcurrentScheduler sched(4, 0); sched.create_actor_unsafe<TestTd>(0, "TestTd", std::move(test_options)).release(); sched.start(); while (sched.run_main(10)) { |
