Fix forward declaration usage.
This commit is contained in:
parent
7e60c440ff
commit
f755ed8e97
@ -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();
|
||||
|
@ -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();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user