aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/support
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2016-11-01 16:31:56 -0700
committerGravatar Vijay Pai <vpai@google.com>2016-11-01 16:31:56 -0700
commitc0b2acb1a085d6220d2d813c38ebcbb51498f6e9 (patch)
tree5635e8f260b0da0f5a82d4c8ee3111726250f441 /include/grpc++/support
parent80b292709caa2a4b7b4ef69506eedfeb57e26dbc (diff)
Use C++11 final and override
Diffstat (limited to 'include/grpc++/support')
-rw-r--r--include/grpc++/support/byte_buffer.h2
-rw-r--r--include/grpc++/support/slice.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/grpc++/support/byte_buffer.h b/include/grpc++/support/byte_buffer.h
index 06f8969b70..1f317df663 100644
--- a/include/grpc++/support/byte_buffer.h
+++ b/include/grpc++/support/byte_buffer.h
@@ -47,7 +47,7 @@
namespace grpc {
/// A sequence of bytes.
-class ByteBuffer GRPC_FINAL {
+class ByteBuffer final {
public:
/// Constuct an empty buffer.
ByteBuffer() : buffer_(nullptr) {}
diff --git a/include/grpc++/support/slice.h b/include/grpc++/support/slice.h
index 5874b4f5ae..85561f7f33 100644
--- a/include/grpc++/support/slice.h
+++ b/include/grpc++/support/slice.h
@@ -44,7 +44,7 @@ namespace grpc {
/// A slice represents a contiguous reference counted array of bytes.
/// It is cheap to take references to a slice, and it is cheap to create a
/// slice pointing to a subset of another slice.
-class Slice GRPC_FINAL {
+class Slice final {
public:
/// Construct an empty slice.
Slice();