Improve includes.

This commit is contained in:
levlam 2023-05-03 16:38:49 +03:00
parent c47dde6ea9
commit 53cd6c1a79
3 changed files with 1 additions and 4 deletions

View File

@ -77,6 +77,7 @@
#include "td/utils/algorithm.h"
#include "td/utils/format.h"
#include "td/utils/logging.h"
#include "td/utils/misc.h"
#include "td/utils/PathView.h"
#include "td/utils/Random.h"

View File

@ -80,7 +80,6 @@
#include "td/utils/HashTableUtils.h"
#include "td/utils/Heap.h"
#include "td/utils/Hints.h"
#include "td/utils/logging.h"
#include "td/utils/Promise.h"
#include "td/utils/Slice.h"
#include "td/utils/Status.h"

View File

@ -52,14 +52,11 @@ class OrderedMessages {
size_t last_right_pos = 0;
while (root != nullptr) {
// LOG(DEBUG) << "Have root->message_id_ = " << root->message_id_;
stack_.push_back(root);
if (root->message_id_ <= message_id) {
// LOG(DEBUG) << "Go right";
last_right_pos = stack_.size();
root = root->right_.get();
} else {
// LOG(DEBUG) << "Go left";
root = root->left_.get();
}
}