Fix forward declaration usage.

This commit is contained in:
levlam 2023-04-24 15:09:37 +03:00
parent 7e60c440ff
commit f755ed8e97
2 changed files with 7 additions and 0 deletions

View File

@ -533,6 +533,8 @@ class GetSuggestedDialogFiltersQuery final : public Td::ResultHandler {
DialogFilterManager::DialogFilterManager(Td *td, ActorShared<> parent) : td_(td), parent_(std::move(parent)) {
}
DialogFilterManager::~DialogFilterManager() = default;
void DialogFilterManager::hangup() {
fail_promises(dialog_filter_reload_queries_, Global::request_aborted_error());
stop();

View File

@ -29,6 +29,11 @@ class Td;
class DialogFilterManager final : public Actor {
public:
DialogFilterManager(Td *td, ActorShared<> parent);
DialogFilterManager(const DialogFilterManager &) = delete;
DialogFilterManager &operator=(const DialogFilterManager &) = delete;
DialogFilterManager(DialogFilterManager &&) = delete;
DialogFilterManager &operator=(DialogFilterManager &&) = delete;
~DialogFilterManager() final;
void init();