aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/secret.cpp
diff options
context:
space:
mode:
authorlevlam <levlam@telegram.org>2021-07-05 21:04:23 +0300
committerlevlam <levlam@telegram.org>2021-07-05 21:04:23 +0300
commit61664b4044f0e7b26c4bd137c86e77867fcdb726 (patch)
tree785c3b0f9dcb149f92b9cc33d127387ab4be1348 /test/secret.cpp
parent4404e47f756662893c3f60577b020b035583169f (diff)
Move remaining MTProto classes to namespace mtproto.
Diffstat (limited to 'test/secret.cpp')
-rw-r--r--test/secret.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/test/secret.cpp b/test/secret.cpp
index a223935d2..4bf32ddfc 100644
--- a/test/secret.cpp
+++ b/test/secret.cpp
@@ -334,7 +334,7 @@ static string prime_base64 =
"WC2xF40WnGvEZbDW_5yjko_vW5rk5Bj8Feg-vqD4f6n_Xu1wBQ3tKEn0e_lZ2VaFDOkphR8NgRX2NbEF7i5OFdBLJFS_b0-t8DSxBAMRnNjjuS_MW"
"w";
-class FakeDhCallback final : public DhCallback {
+class FakeDhCallback final : public mtproto::DhCallback {
public:
int is_good_prime(Slice prime_str) const final {
auto it = cache.find(prime_str.str());
@@ -490,7 +490,7 @@ class FakeSecretChatContext final : public SecretChatActor::Context {
secret_chat_db_ = std::make_shared<SecretChatDb>(key_value_, 1);
net_query_creator_.stop_check(); // :(
}
- DhCallback *dh_callback() final {
+ mtproto::DhCallback *dh_callback() final {
return &fake_dh_callback_;
}
NetQueryCreator &net_query_creator() final {