Workaround clang 3.4 bug.

This commit is contained in:
levlam 2021-12-24 01:15:43 +03:00
parent 8aa95a98ca
commit ac5e1960f9

View File

@ -494,7 +494,8 @@ class SecretChatActor final : public NetQueryCallback {
template <class StateT> template <class StateT>
class Change { class Change {
public: public:
Change() = default; Change() : message_id() {
}
explicit operator bool() const { explicit operator bool() const {
return !data.empty(); return !data.empty();
} }
@ -520,7 +521,7 @@ class SecretChatActor final : public NetQueryCallback {
return sb; return sb;
} }
int32 message_id = 0; int32 message_id;
private: private:
std::string data; std::string data;