mirror of
https://github.com/google/flatbuffers.git
synced 2026-07-03 12:54:12 +00:00
Fixed GRPC method name generation.
Change-Id: I827b7e9aee1edb77752322455f7b6fafac16fb1d Tested: on Linux.
This commit is contained in:
@@ -149,8 +149,7 @@ std::string Namespace::GetFullyQualifiedName(const std::string &name,
|
|||||||
}
|
}
|
||||||
stream << components[i];
|
stream << components[i];
|
||||||
}
|
}
|
||||||
|
if (name.length()) stream << "." << name;
|
||||||
stream << "." << name;
|
|
||||||
return stream.str();
|
return stream.str();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -18,8 +18,8 @@ namespace MyGame {
|
|||||||
namespace Example {
|
namespace Example {
|
||||||
|
|
||||||
static const char* MonsterStorage_method_names[] = {
|
static const char* MonsterStorage_method_names[] = {
|
||||||
"/MyGame.Example..MonsterStorage/Store",
|
"/MyGame.Example.MonsterStorage/Store",
|
||||||
"/MyGame.Example..MonsterStorage/Retrieve",
|
"/MyGame.Example.MonsterStorage/Retrieve",
|
||||||
};
|
};
|
||||||
|
|
||||||
std::unique_ptr< MonsterStorage::Stub> MonsterStorage::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) {
|
std::unique_ptr< MonsterStorage::Stub> MonsterStorage::NewStub(const std::shared_ptr< ::grpc::ChannelInterface>& channel, const ::grpc::StubOptions& options) {
|
||||||
|
|||||||
Reference in New Issue
Block a user