aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/server.h
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2015-02-26 14:05:56 -0800
committerGravatar Craig Tiller <ctiller@google.com>2015-02-26 14:27:05 -0800
commitcf133f41f84c6c8d306293a5dc8f81fbd9aed1a1 (patch)
treece405139ab89b1f4eedf5e8ad41abb015e503e4d /include/grpc++/server.h
parenta1d7f7f70bd4bbc6976150672220a6fd25e209ca (diff)
Make it possible to compile with gcc4.6
Diffstat (limited to 'include/grpc++/server.h')
-rw-r--r--include/grpc++/server.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/grpc++/server.h b/include/grpc++/server.h
index 429c0ff3cf..46c4a62235 100644
--- a/include/grpc++/server.h
+++ b/include/grpc++/server.h
@@ -61,8 +61,8 @@ class ServerCredentials;
class ThreadPoolInterface;
// Currently it only supports handling rpcs in a single thread.
-class Server final : private CallHook,
- private AsynchronousService::DispatchImpl {
+class Server GRPC_FINAL : private CallHook,
+ private AsynchronousService::DispatchImpl {
public:
~Server();
@@ -97,7 +97,7 @@ class Server final : private CallHook,
void RunRpc();
void ScheduleCallback();
- void PerformOpsOnCall(CallOpBuffer* ops, Call* call) override;
+ void PerformOpsOnCall(CallOpBuffer* ops, Call* call) GRPC_OVERRIDE;
// DispatchImpl
void RequestAsyncCall(void* registered_method, ServerContext* context,