Skip to content

Commit

Permalink
Format
Browse files Browse the repository at this point in the history
Signed-off-by: Ryan Hamilton <rch@google.com>
  • Loading branch information
RyanTheOptimist committed Sep 25, 2021
1 parent 2ae6924 commit 133ef91
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
3 changes: 1 addition & 2 deletions source/common/http/alternate_protocols_cache_impl.cc
Original file line number Diff line number Diff line change
Expand Up @@ -66,8 +66,7 @@ AlternateProtocolsCacheImpl::protocolsFromString(absl::string_view alt_svc_strin
AlternateProtocolsCacheImpl::AlternateProtocolsCacheImpl(
TimeSource& time_source, std::unique_ptr<KeyValueStore>&& key_value_store, size_t max_entries)
: time_source_(time_source), key_value_store_(std::move(key_value_store)),
max_entries_(max_entries > 0 ? max_entries : 1024) {
}
max_entries_(max_entries > 0 ? max_entries : 1024) {}

AlternateProtocolsCacheImpl::~AlternateProtocolsCacheImpl() = default;

Expand Down
1 change: 0 additions & 1 deletion source/common/http/alternate_protocols_cache_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ class AlternateProtocolsCacheImpl : public AlternateProtocolsCache {

struct OriginProtocols {
OriginProtocols(const Origin& origin, const std::vector<AlternateProtocol>& protocols)
//OriginProtocols(Origin origin, std::vector<AlternateProtocol> protocols)
: origin_(origin), protocols_(protocols) {}

Origin origin_;
Expand Down

0 comments on commit 133ef91

Please sign in to comment.