aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/grpc++
diff options
context:
space:
mode:
authorGravatar Vijay Pai <vpai@google.com>2017-01-19 14:07:05 -0800
committerGravatar GitHub <noreply@github.com>2017-01-19 14:07:05 -0800
commitaeee09eacc9585cfc57dfafe3cc3c9b0759add0b (patch)
tree860db2183494a7aaa5e1c635744e6def23dc34a6 /include/grpc++
parenta52c262accacbe7aca54ac4f91de7315d4069523 (diff)
parent3cdee02893a03afb716744772d62477feb24f7fa (diff)
Merge pull request #8830 from vjpai/its_compat
C++11: Support compat with 1.0.x generated PB files
Diffstat (limited to 'include/grpc++')
-rw-r--r--include/grpc++/impl/codegen/config.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/include/grpc++/impl/codegen/config.h b/include/grpc++/impl/codegen/config.h
index af3ee5a4cf..a43bf65f91 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;