Improve includes.
This commit is contained in:
parent
c47dde6ea9
commit
53cd6c1a79
@ -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"
|
||||
|
@ -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"
|
||||
|
@ -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();
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user