修改pods
This commit is contained in:
13
Pods/gRPC-C++/include/grpcpp/client_context.h
generated
13
Pods/gRPC-C++/include/grpcpp/client_context.h
generated
@@ -34,13 +34,8 @@
|
||||
#ifndef GRPCPP_CLIENT_CONTEXT_H
|
||||
#define GRPCPP_CLIENT_CONTEXT_H
|
||||
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include <grpc/impl/compression_types.h>
|
||||
#include <grpc/impl/propagation_bits.h>
|
||||
#include <grpc/support/log.h>
|
||||
#include <grpcpp/impl/create_auth_context.h>
|
||||
#include <grpcpp/impl/metadata_map.h>
|
||||
#include <grpcpp/impl/rpc_method.h>
|
||||
@@ -53,6 +48,12 @@
|
||||
#include <grpcpp/support/string_ref.h>
|
||||
#include <grpcpp/support/time.h>
|
||||
|
||||
#include <map>
|
||||
#include <memory>
|
||||
#include <string>
|
||||
|
||||
#include "absl/log/absl_check.h"
|
||||
|
||||
struct census_context;
|
||||
struct grpc_call;
|
||||
|
||||
@@ -246,7 +247,7 @@ class ClientContext {
|
||||
/// \return A multimap of initial metadata key-value pairs from the server.
|
||||
const std::multimap<grpc::string_ref, grpc::string_ref>&
|
||||
GetServerInitialMetadata() const {
|
||||
GPR_ASSERT(initial_metadata_received_);
|
||||
ABSL_CHECK(initial_metadata_received_);
|
||||
return *recv_initial_metadata_.map();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user