This pull request fixes the following error, which appears when building BMv2 on Ubuntu 22.04:
In file included from base_test.cpp:28:
base_test.h:35:7: error: using typedef-name 'grpc::Channel' after 'class'
35 | class Channel;
| ^~~~~~~
In file included from /usr/include/grpcpp/grpcpp.h:52,
from base_test.cpp:21:
/usr/include/grpcpp/channel.h:26:30: note: 'grpc::Channel' has a previous declaration here
26 | typedef ::grpc_impl::Channel Channel;
| ^~~~~~~
This error appears because a typedef Channel has been introduced in newer versions of gRPC.
This pull request fixes the following error, which appears when building BMv2 on Ubuntu 22.04:
This error appears because a typedef
Channel
has been introduced in newer versions of gRPC.