Fix compilation issues

This commit is contained in:
Andrea Cavalli 2021-07-23 16:55:10 +02:00
parent a580242be1
commit fcc30bf40a

View File

@ -16320,8 +16320,6 @@ void ContactsManager::memory_cleanup(bool full) {
uploaded_profile_photos_.rehash(0);
imported_contacts_.clear();
imported_contacts_.rehash(0);
received_channel_participant_.clear();
received_channel_participant_.rehash(0);
cached_channel_participants_.clear();
cached_channel_participants_.rehash(0);
load_contacts_queries_.clear();
@ -16413,8 +16411,6 @@ void ContactsManager::memory_stats(vector<string> &output) {
output.push_back(",");
output.push_back("\"imported_contacts_\":"); output.push_back(std::to_string(imported_contacts_.size()));
output.push_back(",");
output.push_back("\"received_channel_participant_\":"); output.push_back(std::to_string(received_channel_participant_.size()));
output.push_back(",");
output.push_back("\"cached_channel_participants_\":"); output.push_back(std::to_string(cached_channel_participants_.size()));
output.push_back(",");
output.push_back("\"load_contacts_queries_\":"); output.push_back(std::to_string(load_contacts_queries_.size()));