summaryrefslogtreecommitdiff
path: root/grpc/samples
diff options
context:
space:
mode:
authorJeong YunWon <youknowone@users.noreply.github.com>2021-03-26 04:12:35 +0900
committerGitHub <noreply@github.com>2021-03-25 12:12:35 -0700
commit276b1bc342d23142e4b2b9b9fadbf076474deec9 (patch)
tree11aa2c405876cb0c50e410ccf251fd250b1ca2dc /grpc/samples
parent124654ffc4ef8ee8a67aca8af3d9a6e58bd38f59 (diff)
downloadflatbuffers-276b1bc342d23142e4b2b9b9fadbf076474deec9.tar.gz
flatbuffers-276b1bc342d23142e4b2b9b9fadbf076474deec9.tar.bz2
flatbuffers-276b1bc342d23142e4b2b9b9fadbf076474deec9.zip
[grpc] Support latest version of grpc PoC (#6338)
* use grpcpp rather than deprecated grpc++ * grpcpp Deserialize take ByteBuffer instead of grpc_byte_buffer * grpc 1.36.0 * Fix to use grpc 1.36.0 * Fix CMakeLists to refer gRPC * add find_package(Threads) * Update bazel deps * Apply workaround about boringssl build error * Install latest cmake for osx on travis-ci Co-authored-by: Yeom Gyusun <omniavinco@gmail.com>
Diffstat (limited to 'grpc/samples')
-rw-r--r--grpc/samples/greeter/client.cpp2
-rw-r--r--grpc/samples/greeter/server.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/grpc/samples/greeter/client.cpp b/grpc/samples/greeter/client.cpp
index 2e42f8fd..0e4f3481 100644
--- a/grpc/samples/greeter/client.cpp
+++ b/grpc/samples/greeter/client.cpp
@@ -1,7 +1,7 @@
#include "greeter.grpc.fb.h"
#include "greeter_generated.h"
-#include <grpc++/grpc++.h>
+#include <grpcpp/grpcpp.h>
#include <iostream>
#include <memory>
diff --git a/grpc/samples/greeter/server.cpp b/grpc/samples/greeter/server.cpp
index db442593..ac38fa96 100644
--- a/grpc/samples/greeter/server.cpp
+++ b/grpc/samples/greeter/server.cpp
@@ -1,7 +1,7 @@
#include "greeter.grpc.fb.h"
#include "greeter_generated.h"
-#include <grpc++/grpc++.h>
+#include <grpcpp/grpcpp.h>
#include <iostream>
#include <memory>