Minor fixes.

GitOrigin-RevId: b9f67c5e5edf818610c1739533f01a7873e6e1b6
This commit is contained in:
levlam 2020-07-14 03:37:04 +03:00
parent 7685047186
commit 7767842d4c
6 changed files with 5 additions and 1 deletions

View File

@ -14,6 +14,7 @@
#include "td/utils/format.h" #include "td/utils/format.h"
#include "td/utils/Named.h" #include "td/utils/Named.h"
#include "td/utils/port/detail/PollableFd.h" #include "td/utils/port/detail/PollableFd.h"
#include "td/utils/ScopeGuard.h"
#include "td/utils/Slice.h" #include "td/utils/Slice.h"
#include "td/utils/Status.h" #include "td/utils/Status.h"
#include "td/utils/StorerBase.h" #include "td/utils/StorerBase.h"

View File

@ -7,6 +7,7 @@
#pragma once #pragma once
#include "td/utils/common.h" #include "td/utils/common.h"
#include "td/utils/ScopeGuard.h"
#include "td/utils/Slice.h" #include "td/utils/Slice.h"
#include "td/utils/Status.h" #include "td/utils/Status.h"

View File

@ -20,7 +20,6 @@
#include <map> #include <map>
struct Trie { struct Trie {
public:
Trie() { Trie() {
nodes_.resize(1); nodes_.resize(1);
} }

View File

@ -15,6 +15,7 @@
#include "td/utils/buffer.h" #include "td/utils/buffer.h"
#include "td/utils/BufferedFd.h" #include "td/utils/BufferedFd.h"
#include "td/utils/ByteFlow.h" #include "td/utils/ByteFlow.h"
#include "td/utils/port/IPAddress.h"
#include "td/utils/port/SocketFd.h" #include "td/utils/port/SocketFd.h"
#include "td/utils/Status.h" #include "td/utils/Status.h"

View File

@ -12,6 +12,7 @@
#include "td/utils/port/detail/NativeFd.h" #include "td/utils/port/detail/NativeFd.h"
#include "td/utils/port/PollFlags.h" #include "td/utils/port/PollFlags.h"
#include "td/utils/port/thread.h" #include "td/utils/port/thread.h"
#include "td/utils/ScopeGuard.h"
#include "td/utils/Slice.h" #include "td/utils/Slice.h"
#include <atomic> #include <atomic>

View File

@ -15,6 +15,7 @@
#include "td/utils/tests.h" #include "td/utils/tests.h"
#include <atomic> #include <atomic>
#include <cstring>
TEST(StealingQueue, very_simple) { TEST(StealingQueue, very_simple) {
td::StealingQueue<int, 8> q; td::StealingQueue<int, 8> q;