aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/cpp')
-rw-r--r--src/cpp/common/create_auth_context.h2
-rw-r--r--src/cpp/common/secure_auth_context.h3
2 files changed, 3 insertions, 2 deletions
diff --git a/src/cpp/common/create_auth_context.h b/src/cpp/common/create_auth_context.h
index 24c00c43a8..9082a90c6d 100644
--- a/src/cpp/common/create_auth_context.h
+++ b/src/cpp/common/create_auth_context.h
@@ -37,6 +37,6 @@
namespace grpc {
-std::unique_ptr<const AuthContext> CreateAuthContext(grpc_call* call);
+std::shared_ptr<const AuthContext> CreateAuthContext(grpc_call* call);
} // namespace grpc
diff --git a/src/cpp/common/secure_auth_context.h b/src/cpp/common/secure_auth_context.h
index b406f675ae..bba46803cd 100644
--- a/src/cpp/common/secure_auth_context.h
+++ b/src/cpp/common/secure_auth_context.h
@@ -35,7 +35,8 @@
#define GRPC_INTERNAL_CPP_COMMON_SECURE_AUTH_CONTEXT_H
#include <grpc++/auth_context.h>
-#include "src/core/security/security_context.h"
+
+struct grpc_auth_context;
namespace grpc {