Skip to content

Commit

Permalink
fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
dpcollins-google committed Dec 3, 2021
1 parent e5a1e99 commit 5a01ba3
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
2 changes: 0 additions & 2 deletions google/cloud/pubsublite/BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,6 @@ cc_library(
],
)

load(":google_cloud_cpp_pubsublite_mocks.bzl", "google_cloud_cpp_pubsublite_mocks_hdrs", "google_cloud_cpp_pubsublite_mocks_srcs")

cc_library(
name = "google_cloud_cpp_pubsublite_mocks",
srcs = glob([MOCK_SOURCE_REGEX]),
Expand Down
5 changes: 3 additions & 2 deletions google/cloud/pubsublite/internal/stream_factory.h
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
#ifndef GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_PUBSUBLITE_INTERNAL_STREAM_FACTORY_H
#define GOOGLE_CLOUD_CPP_GOOGLE_CLOUD_PUBSUBLITE_INTERNAL_STREAM_FACTORY_H

#include "absl/container/flat_hash_map.h"
#include <unordered_map>

#include "google/cloud/version.h"
#include "google/cloud/internal/async_read_write_stream_impl.h"

Expand All @@ -34,7 +35,7 @@ using BidiStream = internal::AsyncStreamingReadWriteRpc<Request, Response>;
template <class Request, class Response>
using StreamFactory = std::function<std::unique_ptr<BidiStream<Request, Response>>()>;

using ClientMetadata = absl::flat_hash_map<std::string, std::string>;
using ClientMetadata = std::unordered_map<std::string, std::string>;

namespace stream_factory_internal {

Expand Down

0 comments on commit 5a01ba3

Please sign in to comment.