aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/impl
diff options
context:
space:
mode:
authorGravatar David Garcia Quintas <dgq@google.com>2016-01-19 14:45:32 -0800
committerGravatar David Garcia Quintas <dgq@google.com>2016-01-19 14:45:32 -0800
commit1f4e72c19c184eb9395d27e1c560c9c0cb1bfd4f (patch)
tree63e03bafd5ff3f7c75f37fe28203a9410e8a82f7 /include/grpc++/impl
parent1aeabd7194dad7fb49638344a0043a48a91cf8d6 (diff)
override -> GRPC_OVERRIDE
Diffstat (limited to 'include/grpc++/impl')
-rw-r--r--include/grpc++/impl/codegen/channel_interface.h1
-rw-r--r--include/grpc++/impl/codegen/server_interface.h2
2 files changed, 3 insertions, 0 deletions
diff --git a/include/grpc++/impl/codegen/channel_interface.h b/include/grpc++/impl/codegen/channel_interface.h
index e29417396e..353f52cef9 100644
--- a/include/grpc++/impl/codegen/channel_interface.h
+++ b/include/grpc++/impl/codegen/channel_interface.h
@@ -63,6 +63,7 @@ class ClientAsyncResponseReader;
/// Codegen interface for \a grpc::Channel.
class ChannelInterface {
public:
+ virtual ~ChannelInterface() {}
/// Get the current channel state. If the channel is in IDLE and
/// \a try_to_connect is set to true, try to connect.
virtual grpc_connectivity_state GetState(bool try_to_connect) = 0;
diff --git a/include/grpc++/impl/codegen/server_interface.h b/include/grpc++/impl/codegen/server_interface.h
index 8f7ce7b501..99d177c03d 100644
--- a/include/grpc++/impl/codegen/server_interface.h
+++ b/include/grpc++/impl/codegen/server_interface.h
@@ -54,6 +54,8 @@ class ThreadPoolInterface;
/// Servers are configured and started via \a grpc::ServerBuilder.
class ServerInterface : public CallHook {
public:
+ virtual ~ServerInterface() {}
+
/// Shutdown the server, blocking until all rpc processing finishes.
/// Forcefully terminate pending calls after \a deadline expires.
///