aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2015-07-14 16:18:41 -0700
committerGravatar Vijay Pai <vpai@google.com>2015-07-14 16:18:41 -0700
commit94fd462df84b6b3395c91c45f5f838a374e8a18e (patch)
tree7d955d33a5f669bbfd6d6bc7dd6ac772c496ec6d
parent181ef45f5e33180a093483258979b91b4a8f3a05 (diff)
override and final
-rw-r--r--include/grpc++/impl/call.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/grpc++/impl/call.h b/include/grpc++/impl/call.h
index 9790349d45..da8ee5dd18 100644
--- a/include/grpc++/impl/call.h
+++ b/include/grpc++/impl/call.h
@@ -179,10 +179,11 @@ class DeserializeFunc {
};
template <class R>
-class DeserializeFuncType : public DeserializeFunc {
+class DeserializeFuncType GRPC_FINAL : public DeserializeFunc {
public:
DeserializeFuncType(R* message) : message_(message) {}
- Status Deserialize(grpc_byte_buffer* buf, int max_message_size) {
+ Status Deserialize(grpc_byte_buffer* buf,
+ int max_message_size) GRPC_OVERRIDE {
return SerializationTraits<R>::Deserialize(buf, message_, max_message_size);
}