diff options
| author | levlam <levlam@telegram.org> | 2018-09-27 04:19:03 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2018-09-27 04:19:03 +0300 |
| commit | f948956bf789926e8a1f0456d93c8786d78eb2d7 (patch) | |
| tree | 2266679cf16dbccec69091c7de9b0ea97ebc1ae0 /benchmark/wget.cpp | |
| parent | 83be04a5f48afea594738a2d758f96b54aa3ae07 (diff) | |
Use td::unique_ptr instead of std::unique_ptr whenever possible.
GitOrigin-RevId: 424beb72dc62efdefdbffb75f1036ba9417f84cb
Diffstat (limited to 'benchmark/wget.cpp')
| -rw-r--r-- | benchmark/wget.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/benchmark/wget.cpp b/benchmark/wget.cpp index 850c5b641..0103d7f11 100644 --- a/benchmark/wget.cpp +++ b/benchmark/wget.cpp @@ -25,7 +25,7 @@ int main(int argc, char *argv[]) { auto timeout = 10; auto ttl = 3; auto prefer_ipv6 = (argc > 2 && std::string(argv[2]) == "-6"); - auto scheduler = std::make_unique<td::ConcurrentScheduler>(); + auto scheduler = td::make_unique<td::ConcurrentScheduler>(); scheduler->init(0); scheduler ->create_actor_unsafe<td::Wget>(0, "Client", td::PromiseCreator::lambda([](td::Result<td::HttpQueryPtr> res) { |
