From ac5e1960f9c06ff186779111f618821d623f758f Mon Sep 17 00:00:00 2001 From: levlam Date: Fri, 24 Dec 2021 01:15:43 +0300 Subject: [PATCH] Workaround clang 3.4 bug. --- td/telegram/SecretChatActor.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/td/telegram/SecretChatActor.h b/td/telegram/SecretChatActor.h index 9be2866bd..b0310deac 100644 --- a/td/telegram/SecretChatActor.h +++ b/td/telegram/SecretChatActor.h @@ -494,7 +494,8 @@ class SecretChatActor final : public NetQueryCallback { template class Change { public: - Change() = default; + Change() : message_id() { + } explicit operator bool() const { return !data.empty(); } @@ -520,7 +521,7 @@ class SecretChatActor final : public NetQueryCallback { return sb; } - int32 message_id = 0; + int32 message_id; private: std::string data;