diff options
| author | levlam <levlam@telegram.org> | 2020-08-27 01:27:34 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2020-08-27 01:27:34 +0300 |
| commit | 2009d58f6a77ea0d895b6ae1b246bc9c976f45b1 (patch) | |
| tree | 29d9f0d827f1c9a2cd35c0bc9ca3fbf45ae02ba5 /test/mtproto.cpp | |
| parent | b8419b78320b65cdc8295ed2a76c7ae2ed316689 (diff) | |
Deprecate ActorShared with 0 token.
GitOrigin-RevId: 15dc5e63afa4c0d08f911101eaa78513df6aebc5
Diffstat (limited to 'test/mtproto.cpp')
| -rw-r--r-- | test/mtproto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/mtproto.cpp b/test/mtproto.cpp index 9651b2c67..b7c528e6e 100644 --- a/test/mtproto.cpp +++ b/test/mtproto.cpp @@ -459,7 +459,7 @@ class Socks5TestActor : public Actor { return promise.set_error(Status::Error(PSTRING() << "Failed to open socket: " << r_socket.error())); } create_actor<Socks5>("socks5", r_socket.move_as_ok(), mtproto_ip_address, "", "", - make_unique<Callback>(std::move(promise)), actor_shared()) + make_unique<Callback>(std::move(promise)), actor_shared(this)) .release(); } |
