Minor improvements.

This commit is contained in:
levlam 2021-12-16 16:16:34 +03:00
parent d75f0a4e94
commit 1782b8e478
3 changed files with 4 additions and 1 deletions

View File

@ -11,6 +11,7 @@
#include "td/telegram/ConfigManager.h"
#include "td/telegram/ConfigShared.h"
#include "td/telegram/ContactsManager.h"
#include "td/telegram/DialogId.h"
#include "td/telegram/Global.h"
#include "td/telegram/JsonValue.h"
#include "td/telegram/LanguagePackManager.h"
@ -27,6 +28,7 @@
#include "td/utils/misc.h"
#include "td/utils/SliceBuilder.h"
#include "td/utils/Status.h"
#include <cmath>
#include <limits>

View File

@ -10,6 +10,8 @@
#include "td/actor/PromiseFuture.h"
#include "td/utils/common.h"
#include <memory>
#include <unordered_map>

View File

@ -30,7 +30,6 @@ int64 BufferAllocator::get_buffer_slice_size() {
}
void BufferAllocator::track_buffer_slice(int64 size) {
return;
}
size_t BufferAllocator::get_buffer_mem() {