Code cleanup

This commit is contained in:
Andrea Cavalli 2024-03-20 15:54:25 +01:00
parent 88c26a55f8
commit 608b0208af
3 changed files with 1 additions and 3 deletions

View File

@ -836,7 +836,7 @@ void AnimationsManager::send_update_saved_animations(bool from_database) {
if (animation->animated_thumbnail.file_id.is_valid()) {
new_saved_animation_file_ids.push_back(animation->animated_thumbnail.file_id);
}
}
}
std::sort(new_saved_animation_file_ids.begin(), new_saved_animation_file_ids.end());
if (new_saved_animation_file_ids != saved_animation_file_ids_) {
td_->file_manager_->change_files_source(get_saved_animations_file_source_id(), saved_animation_file_ids_,

View File

@ -15,7 +15,6 @@
#include "td/utils/common.h"
#include "td/utils/tl_helpers.h"
namespace td {
template <class StorerT>

View File

@ -15,7 +15,6 @@
#include "td/utils/common.h"
#include "td/utils/tl_helpers.h"
namespace td {
template <class StorerT>