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>
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;