aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++/server_builder.h
diff options
context:
space:
mode:
authorGravatar Muxi Yan <mxyan@google.com>2017-05-17 10:34:10 -0700
committerGravatar Muxi Yan <mxyan@google.com>2017-05-17 10:34:10 -0700
commitf6b622c08a908f6c67cebfd554f3e2039298416f (patch)
treecba2ad793d30d14ef6ca976060e23ba98cce569f /include/grpc++/server_builder.h
parent7aa3a7fb6e847fb7b2674fe5f903ba22276c42c2 (diff)
Take grpc_workaround_list as parameter
Diffstat (limited to 'include/grpc++/server_builder.h')
-rw-r--r--include/grpc++/server_builder.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/grpc++/server_builder.h b/include/grpc++/server_builder.h
index 3c989c041d..e0aa2a5b94 100644
--- a/include/grpc++/server_builder.h
+++ b/include/grpc++/server_builder.h
@@ -46,6 +46,7 @@
#include <grpc/compression.h>
#include <grpc/support/cpu.h>
#include <grpc/support/useful.h>
+#include <grpc/support/workaround_list.h>
struct grpc_resource_quota;
@@ -187,7 +188,7 @@ class ServerBuilder {
/// Enable a server workaround. Do not use unless you know what the workaround
/// does. For explanation and detailed descriptions of workarounds, see
/// doc/workarounds.md.
- ServerBuilder& EnableWorkaround(uint32_t id);
+ ServerBuilder& EnableWorkaround(grpc_workaround_list id);
private:
friend class ::grpc::testing::ServerBuilderPluginTest;