diff options
| author | levlam <levlam@telegram.org> | 2019-05-03 23:22:49 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2019-05-03 23:22:49 +0300 |
| commit | e69463f81db0efbcdaf006f5b3a545ef5974365b (patch) | |
| tree | e9517bc40f3f93f09583e696ddea643c982a1c45 /td/telegram/NotificationType.h | |
| parent | 92462100e8b6404f954cd2d5d4199ed274299988 (diff) | |
Remove commented NotificationType::get_type().
GitOrigin-RevId: 23427ab1484fcba8dbaa81e770957c3d587f8d3a
Diffstat (limited to 'td/telegram/NotificationType.h')
| -rw-r--r-- | td/telegram/NotificationType.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/td/telegram/NotificationType.h b/td/telegram/NotificationType.h index b359e8dc5..abbef2e40 100644 --- a/td/telegram/NotificationType.h +++ b/td/telegram/NotificationType.h @@ -27,9 +27,7 @@ class NotificationType { NotificationType &operator=(const NotificationType &) = delete; NotificationType(NotificationType &&) = delete; NotificationType &operator=(NotificationType &&) = delete; - - virtual ~NotificationType() { - } + virtual ~NotificationType() = default; virtual bool can_be_delayed() const = 0; @@ -42,11 +40,6 @@ class NotificationType { virtual td_api::object_ptr<td_api::NotificationType> get_notification_type_object(DialogId dialog_id) const = 0; virtual StringBuilder &to_string_builder(StringBuilder &string_builder) const = 0; - - protected: - // enum class Type : int32 { Message, SecretChat, Call, PushMessage }; - - // virtual Type get_type() const = 0; }; inline StringBuilder &operator<<(StringBuilder &string_builder, const NotificationType ¬ification_type) { |
