Minor fixes.
GitOrigin-RevId: b7985efd4257bc9bb2b2672f94c5f5671e19dd0f
This commit is contained in:
parent
7187b9c32f
commit
b45f8ba3a0
@ -36,7 +36,7 @@ class StateManager final : public Actor {
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
StateManager(ActorShared<> parent) : parent_(std::move(parent)) {
|
explicit StateManager(ActorShared<> parent) : parent_(std::move(parent)) {
|
||||||
}
|
}
|
||||||
|
|
||||||
void on_synchronized(bool is_synchronized);
|
void on_synchronized(bool is_synchronized);
|
||||||
|
@ -125,6 +125,7 @@
|
|||||||
#include "td/utils/Status.h"
|
#include "td/utils/Status.h"
|
||||||
#include "td/utils/Timer.h"
|
#include "td/utils/Timer.h"
|
||||||
#include "td/utils/tl_parsers.h"
|
#include "td/utils/tl_parsers.h"
|
||||||
|
#include "td/utils/TsList.h"
|
||||||
#include "td/utils/utf8.h"
|
#include "td/utils/utf8.h"
|
||||||
|
|
||||||
#include <cmath>
|
#include <cmath>
|
||||||
|
@ -9,6 +9,8 @@
|
|||||||
#include "td/telegram/ConfigManager.h"
|
#include "td/telegram/ConfigManager.h"
|
||||||
#include "td/telegram/Global.h"
|
#include "td/telegram/Global.h"
|
||||||
|
|
||||||
|
#include "td/actor/actor.h"
|
||||||
|
|
||||||
#include "td/utils/format.h"
|
#include "td/utils/format.h"
|
||||||
#include "td/utils/logging.h"
|
#include "td/utils/logging.h"
|
||||||
#include "td/utils/misc.h"
|
#include "td/utils/misc.h"
|
||||||
|
@ -43,7 +43,7 @@ class TempAuthKeyWatchdog : public NetQueryCallback {
|
|||||||
};
|
};
|
||||||
|
|
||||||
public:
|
public:
|
||||||
TempAuthKeyWatchdog(ActorShared<> parent) : parent_(std::move(parent)) {
|
explicit TempAuthKeyWatchdog(ActorShared<> parent) : parent_(std::move(parent)) {
|
||||||
}
|
}
|
||||||
|
|
||||||
using RegisteredAuthKey = unique_ptr<RegisteredAuthKeyImpl>;
|
using RegisteredAuthKey = unique_ptr<RegisteredAuthKeyImpl>;
|
||||||
|
@ -8,7 +8,6 @@
|
|||||||
|
|
||||||
#include "td/utils/Closure.h"
|
#include "td/utils/Closure.h"
|
||||||
#include "td/utils/common.h"
|
#include "td/utils/common.h"
|
||||||
#include "td/utils/format.h"
|
|
||||||
#include "td/utils/logging.h"
|
#include "td/utils/logging.h"
|
||||||
#include "td/utils/StringBuilder.h"
|
#include "td/utils/StringBuilder.h"
|
||||||
|
|
||||||
|
@ -8,6 +8,8 @@
|
|||||||
|
|
||||||
#include "td/utils/ByteFlow.h"
|
#include "td/utils/ByteFlow.h"
|
||||||
|
|
||||||
|
#include <limits>
|
||||||
|
|
||||||
namespace td {
|
namespace td {
|
||||||
|
|
||||||
class HttpChunkedByteFlow final : public ByteFlowBase {
|
class HttpChunkedByteFlow final : public ByteFlowBase {
|
||||||
|
@ -72,7 +72,6 @@ class ByteFlowBaseCommon : public ByteFlowInterface {
|
|||||||
if (read_size >= max(need_size_, options_.read_watermark.high)) {
|
if (read_size >= max(need_size_, options_.read_watermark.high)) {
|
||||||
can_read = true;
|
can_read = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
// always can read when input is closed
|
// always can read when input is closed
|
||||||
can_read = true;
|
can_read = true;
|
||||||
|
@ -10,6 +10,8 @@
|
|||||||
#include "td/utils/Gzip.h"
|
#include "td/utils/Gzip.h"
|
||||||
#include "td/utils/GzipByteFlow.h"
|
#include "td/utils/GzipByteFlow.h"
|
||||||
#include "td/utils/logging.h"
|
#include "td/utils/logging.h"
|
||||||
|
#include "td/utils/port/thread_local.h"
|
||||||
|
#include "td/utils/Slice.h"
|
||||||
#include "td/utils/Status.h"
|
#include "td/utils/Status.h"
|
||||||
#include "td/utils/tests.h"
|
#include "td/utils/tests.h"
|
||||||
#include "td/utils/Time.h"
|
#include "td/utils/Time.h"
|
||||||
|
Loading…
Reference in New Issue
Block a user