summaryrefslogtreecommitdiff
path: root/grpc/include/grpcpp/security/server_credentials.h
diff options
context:
space:
mode:
Diffstat (limited to 'grpc/include/grpcpp/security/server_credentials.h')
-rw-r--r--grpc/include/grpcpp/security/server_credentials.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/grpc/include/grpcpp/security/server_credentials.h b/grpc/include/grpcpp/security/server_credentials.h
index ad7c0e78..0ce46a82 100644
--- a/grpc/include/grpcpp/security/server_credentials.h
+++ b/grpc/include/grpcpp/security/server_credentials.h
@@ -67,9 +67,10 @@ std::shared_ptr<ServerCredentials> XdsServerCredentials(
} // namespace experimental
/// Wrapper around \a grpc_server_credentials, a way to authenticate a server.
-class ServerCredentials {
+class ServerCredentials : private grpc::GrpcLibraryCodegen {
public:
- virtual ~ServerCredentials();
+ ServerCredentials();
+ ~ServerCredentials() override;
/// This method is not thread-safe and has to be called before the server is
/// started. The last call to this function wins.