From 0e3f1f1e5312b9d20b97642f5c81104ad05a370d Mon Sep 17 00:00:00 2001 From: Vijay Pai Date: Tue, 22 Nov 2016 12:28:14 -0800 Subject: [PATCH] Support compat with old generated PB files --- include/grpc++/impl/codegen/config.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/include/grpc++/impl/codegen/config.h b/include/grpc++/impl/codegen/config.h index af3ee5a4cf8..a43bf65f913 100644 --- a/include/grpc++/impl/codegen/config.h +++ b/include/grpc++/impl/codegen/config.h @@ -39,6 +39,12 @@ #define GRPC_CUSTOM_STRING std::string #endif +// The following macros are deprecated and appear only for users +// with PB files generated using gRPC 1.0.x plugins. They should +// not be used in new code +#define GRPC_OVERRIDE override // deprecated +#define GRPC_FINAL final // deprecated + namespace grpc { typedef GRPC_CUSTOM_STRING string;