From 58dc8dd207a12d1f7e7972845ca31f1b07fd1aad Mon Sep 17 00:00:00 2001 From: levlam Date: Wed, 19 Feb 2020 05:26:45 +0300 Subject: [PATCH] Fix initialization order. GitOrigin-RevId: 659420ed3d74c5980a0a577ffbd78fdcfbee6fb2 --- td/telegram/NotificationType.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/telegram/NotificationType.cpp b/td/telegram/NotificationType.cpp index 43825052..eeff7175 100644 --- a/td/telegram/NotificationType.cpp +++ b/td/telegram/NotificationType.cpp @@ -342,8 +342,8 @@ class NotificationTypePushMessage : public NotificationType { NotificationTypePushMessage(UserId sender_user_id, string sender_name, MessageId message_id, string key, string arg, Photo photo, Document document) : sender_user_id_(std::move(sender_user_id)) - , sender_name_(std::move(sender_name)) , message_id_(message_id) + , sender_name_(std::move(sender_name)) , key_(std::move(key)) , arg_(std::move(arg)) , photo_(std::move(photo))