Removed unused includes of observer file.

This commit is contained in:
23rd 2022-11-01 11:29:12 +03:00 committed by John Preston
parent cddb2a4bac
commit 3b79d944af
8 changed files with 4 additions and 12 deletions

View File

@ -7,8 +7,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
#include "boxes/abstract_box.h"
#include "base/observer.h"
#include "ui/layers/box_content.h"
namespace Ui {
template <typename Enum>

View File

@ -7,8 +7,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
#include "base/observer.h"
namespace Main {
class Session;
} // namespace Main

View File

@ -12,8 +12,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "data/data_drafts.h"
#include "data/data_thread.h"
#include "history/view/history_view_send_action.h"
#include "base/observer.h"
#include "base/timer.h"
#include "base/variant.h"
#include "base/flat_set.h"
#include "base/flags.h"
@ -47,7 +45,7 @@ struct ForwardDraft {
MessageIdsList ids;
ForwardOptions options = ForwardOptions::PreserveInfo;
friend inline constexpr auto operator<=>(
friend inline auto operator<=>(
const ForwardDraft&,
const ForwardDraft&) = default;
};

View File

@ -7,7 +7,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
#include "base/observer.h"
#include "base/bytes.h"
#include <QtCore/QReadWriteLock>

View File

@ -7,7 +7,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
#include "base/observer.h"
#include "ui/rp_widget.h"
namespace Profile {

View File

@ -7,8 +7,6 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
*/
#pragma once
#include "base/observer.h"
#include "base/timer.h"
#include "base/binary_guard.h"
#include "base/weak_ptr.h"

View File

@ -9,6 +9,7 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#include "storage/cache/storage_cache_types.h"
#include "base/qt/qt_common_adapters.h"
#include "base/timer.h"
#include "base/weak_ptr.h"
#include <QtNetwork/QAuthenticator>

View File

@ -8,8 +8,8 @@ https://github.com/telegramdesktop/tdesktop/blob/master/LEGAL
#pragma once
#include "data/data_message_reaction_id.h"
#include "base/observer.h"
#include "base/timer.h"
#include "base/type_traits.h"
class History;