Fixed GRPC method name generation.
Change-Id: I827b7e9aee1edb77752322455f7b6fafac16fb1d Tested: on Linux.
This commit is contained in:
parent
2c4dce5ba7
commit
8c1a723ba5
|
@ -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) {
|
||||||
|
|
Loading…
Reference in New Issue