From 7fc96ddff5c0e85273b3d961608a891a9fb55d19 Mon Sep 17 00:00:00 2001 From: levlam Date: Tue, 14 Aug 2018 17:27:41 +0300 Subject: [PATCH] Add missing override specifier. GitOrigin-RevId: ea9c63f9a1c192285bd88600c2db38307f3ad7f6 --- td/telegram/files/FileGenerateManager.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/td/telegram/files/FileGenerateManager.cpp b/td/telegram/files/FileGenerateManager.cpp index fd0c85789..b7f90f0b5 100644 --- a/td/telegram/files/FileGenerateManager.cpp +++ b/td/telegram/files/FileGenerateManager.cpp @@ -223,7 +223,7 @@ class MapDownloadGenerateActor : public FileGenerateActor { stop(); } - void hangup_shared() { + void hangup_shared() override { on_error(Status::Error(1, "Cancelled")); } };