Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion include/envoy/tracing/context.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#pragma once

#include <string>

namespace Tracing {

struct TransportContext {
Expand All @@ -10,4 +12,3 @@ struct TransportContext {
static const TransportContext EMPTY_CONTEXT = {"", ""};

} // Tracing
#include <string>
4 changes: 2 additions & 2 deletions source/common/common/empty_string.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#pragma once

static const std::string EMPTY_STRING = "";

#include <string>

static const std::string EMPTY_STRING = "";
4 changes: 2 additions & 2 deletions source/common/common/enum_to_int.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
#pragma once

#include <cstdint>

/**
* Convert an int based enum to an int.
*/
template <typename T> uint32_t enumToInt(T val) { return static_cast<uint32_t>(val); }

#include <cstdint>
4 changes: 2 additions & 2 deletions source/common/http/codec_helper.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#pragma once

#include <vector>

namespace Http {

class StreamCallbackHelper {
Expand Down Expand Up @@ -44,5 +46,3 @@ class StreamCallbackHelper {
};

} // Http

#include <vector>