Fix warning.

This commit is contained in:
levlam 2022-11-04 13:20:22 +03:00
parent cb003d7f66
commit 8f9275858f

View File

@ -3656,7 +3656,11 @@ class MessagesManager final : public Actor {
struct ResolvedUsername {
DialogId dialog_id;
double expires_at;
double expires_at = 0.0;
ResolvedUsername() = default;
ResolvedUsername(DialogId dialog_id, double expires_at) : dialog_id(dialog_id), expires_at(expires_at) {
}
};
WaitFreeHashMap<string, ResolvedUsername> resolved_usernames_;