Fixed GRPC method name generation.

Change-Id: I827b7e9aee1edb77752322455f7b6fafac16fb1d
Tested: on Linux.
This commit is contained in:
Wouter van Oortmerssen
2017-01-09 15:54:31 -08:00
parent 2c4dce5ba7
commit 8c1a723ba5
2 changed files with 3 additions and 4 deletions

View File

@@ -149,8 +149,7 @@ std::string Namespace::GetFullyQualifiedName(const std::string &name,
}
stream << components[i];
}
stream << "." << name;
if (name.length()) stream << "." << name;
return stream.str();
}