From 84dba6cd8e169ba96590fd7f7c41b38b6e6f487a Mon Sep 17 00:00:00 2001 From: levlam Date: Thu, 1 Aug 2019 21:47:59 +0300 Subject: [PATCH] Add Debian 10 to build instructions generator. GitOrigin-RevId: 10a156b2d27bcda835e4177ef09d0d8b5c82c511 --- build.html | 7 ++++++- td/telegram/files/FileManager.h | 1 - 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/build.html b/build.html index f5f10629..0f74ce52 100644 --- a/build.html +++ b/build.html @@ -57,6 +57,7 @@ select.large { font-size: large; } + @@ -557,6 +558,7 @@ function onOptionsChanged() { break; case 'Debian 8': case 'Debian 9': + case 'Debian 10': case 'Ubuntu 14': case 'Ubuntu 16': case 'Ubuntu 18': @@ -586,12 +588,15 @@ function onOptionsChanged() { if (linux_distro === 'Ubuntu 18') { packages += ' clang-6.0 libc++abi-dev'; } else { - if (linux_distro === 'Ubuntu 18') { + if (linux_distro === 'Ubuntu 14') { packages += ' clang-3.9'; } else { packages += ' clang'; } packages += ' libc++-dev'; + if (linux_distro === 'Debian 10') { + packages += ' libc++abi-dev'; + } } } else { packages += ' g++'; diff --git a/td/telegram/files/FileManager.h b/td/telegram/files/FileManager.h index 0ec4f232..be8fa304 100644 --- a/td/telegram/files/FileManager.h +++ b/td/telegram/files/FileManager.h @@ -421,7 +421,6 @@ class FileManager : public FileLoadManager::Callback { int32 new_priority, uint64 upload_order, bool force = false); void cancel_upload(FileId file_id); bool delete_partial_remote_location(FileId file_id); - bool delete_remote_location(FileId file_id); void delete_file_reference(FileId file_id, std::string file_reference); void get_content(FileId file_id, Promise promise);