diff options
Diffstat (limited to 'grpc/spm-cpp-include/grpcpp/security/server_credentials.h')
-rw-r--r-- | grpc/spm-cpp-include/grpcpp/security/server_credentials.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/grpc/spm-cpp-include/grpcpp/security/server_credentials.h b/grpc/spm-cpp-include/grpcpp/security/server_credentials.h index ad7c0e78..0ce46a82 100644 --- a/grpc/spm-cpp-include/grpcpp/security/server_credentials.h +++ b/grpc/spm-cpp-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. |