Take grpc_workaround_list as parameter
diff --git a/src/cpp/server/server_builder.cc b/src/cpp/server/server_builder.cc
index 797a8eb..6dca6a6 100644
--- a/src/cpp/server/server_builder.cc
+++ b/src/cpp/server/server_builder.cc
@@ -39,7 +39,6 @@
#include <grpc/support/cpu.h>
#include <grpc/support/log.h>
#include <grpc/support/useful.h>
-#include <grpc/support/workaround_list.h>
#include "src/cpp/server/thread_pool_interface.h"
@@ -359,7 +358,7 @@
(*g_plugin_factory_list).push_back(CreatePlugin);
}
-ServerBuilder& ServerBuilder::EnableWorkaround(uint32_t id) {
+ServerBuilder& ServerBuilder::EnableWorkaround(grpc_workaround_list id) {
switch (id) {
case GRPC_WORKAROUND_ID_CRONET_COMPRESSION:
return AddChannelArgument(GRPC_ARG_WORKAROUND_CRONET_COMPRESSION, 1);