mirror of
https://github.com/dragonflydb/dragonfly.git
synced 2025-05-11 10:25:47 +02:00
refactor(facade): Add includes for standard library headers. (#1538)
Add includes for standard library headers.
This commit is contained in:
parent
d858300109
commit
c5922fec8a
11 changed files with 28 additions and 1 deletions
|
@ -4,6 +4,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <string_view>
|
||||
|
||||
#include "facade/facade_types.h"
|
||||
|
||||
namespace facade {
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
|
||||
#include <absl/container/flat_hash_set.h>
|
||||
|
||||
#include <memory>
|
||||
|
||||
#include "facade/facade_types.h"
|
||||
#include "facade/reply_builder.h"
|
||||
|
||||
|
|
|
@ -9,6 +9,9 @@
|
|||
#include <sys/socket.h>
|
||||
|
||||
#include <deque>
|
||||
#include <memory>
|
||||
#include <string_view>
|
||||
#include <utility>
|
||||
#include <variant>
|
||||
|
||||
#include "base/io_buf.h"
|
||||
|
@ -156,7 +159,7 @@ class Connection : public util::Connection {
|
|||
}
|
||||
|
||||
void SetName(std::string name) {
|
||||
name_ = name;
|
||||
name_ = std::move(name);
|
||||
}
|
||||
|
||||
std::string_view GetName() const {
|
||||
|
|
|
@ -6,6 +6,11 @@
|
|||
|
||||
#include <absl/base/internal/spinlock.h>
|
||||
|
||||
#include <memory>
|
||||
#include <system_error>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "facade/facade_types.h"
|
||||
#include "util/fibers/proactor_base.h"
|
||||
#include "util/http/http_handler.h"
|
||||
|
|
|
@ -6,6 +6,7 @@
|
|||
|
||||
#include <atomic>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
||||
namespace facade {
|
||||
|
||||
|
|
|
@ -6,6 +6,10 @@
|
|||
|
||||
#include <gmock/gmock.h>
|
||||
|
||||
#include <ostream>
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
||||
#include "facade/resp_expr.h"
|
||||
|
||||
namespace facade {
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#include <absl/types/span.h>
|
||||
|
||||
#include <string>
|
||||
#include <string_view>
|
||||
|
||||
namespace facade {
|
||||
|
||||
|
|
|
@ -5,6 +5,10 @@
|
|||
|
||||
#include <absl/container/inlined_vector.h>
|
||||
|
||||
#include <memory>
|
||||
#include <utility>
|
||||
#include <vector>
|
||||
|
||||
#include "facade/resp_expr.h"
|
||||
|
||||
namespace facade {
|
||||
|
|
|
@ -6,7 +6,9 @@
|
|||
|
||||
#include <memory>
|
||||
#include <stack>
|
||||
#include <string_view>
|
||||
#include <variant>
|
||||
#include <vector>
|
||||
|
||||
#include "facade/reply_builder.h"
|
||||
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
#include <absl/types/span.h>
|
||||
|
||||
#include <optional>
|
||||
#include <string_view>
|
||||
#include <variant>
|
||||
#include <vector>
|
||||
|
||||
|
|
|
@ -4,6 +4,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "facade/facade_types.h"
|
||||
#include "facade/memcache_parser.h"
|
||||
#include "util/fiber_socket_base.h"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue