Move get_log_verbosity_level inside Td.

GitOrigin-RevId: 70f6e9a9dae625b0fe3b0927ea227a19e58e18d2
This commit is contained in:
levlam 2018-09-29 07:04:28 +03:00
parent e13ed83a36
commit 5caac7f47a
2 changed files with 3 additions and 1 deletions

View File

@ -6911,7 +6911,7 @@ void Td::on_request(uint64 id, td_api::testGetDifference &request) {
send_closure(actor_id(this), &Td::send_result, id, make_tl_object<td_api::ok>());
}
static int *get_log_verbosity_level(Slice name) {
int *Td::get_log_verbosity_level(Slice name) {
if (name == "td_init") {
return &VERBOSITY_NAME(td_init);
}

View File

@ -303,6 +303,8 @@ class Td final : public NetQueryCallback {
std::shared_ptr<UploadFileCallback> upload_file_callback_;
static int *get_log_verbosity_level(Slice name);
template <class T>
Promise<T> create_request_promise(uint64 id);