diff options
author | Yang Gao <yangg@google.com> | 2015-04-23 16:35:24 -0700 |
---|---|---|
committer | Yang Gao <yangg@google.com> | 2015-04-24 13:09:40 -0700 |
commit | c4b6ffb1b6aa9fb3c5fbf15a5e7e2862cfc4624c (patch) | |
tree | d82ed627e961634d64ba5f1001c502c8e4b974e3 /include/grpc++/credentials.h | |
parent | 3afd92ff511f52db3ecf892d9af65053323c89cb (diff) |
Add a GrpcLibrary class to wrap grpc_init and grpc_shutdown and convert all the tests to init/shutdown free.
Diffstat (limited to 'include/grpc++/credentials.h')
-rw-r--r-- | include/grpc++/credentials.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/include/grpc++/credentials.h b/include/grpc++/credentials.h index 2ac3eec95c..cbf9445750 100644 --- a/include/grpc++/credentials.h +++ b/include/grpc++/credentials.h @@ -38,15 +38,16 @@ #include <memory> #include <grpc++/config.h> +#include <grpc++/impl/grpc_library.h> namespace grpc { class ChannelArguments; class ChannelInterface; class SecureCredentials; -class Credentials { +class Credentials : public GrpcLibrary { public: - virtual ~Credentials(); + ~Credentials() GRPC_OVERRIDE; protected: friend std::unique_ptr<Credentials> CompositeCredentials( |