|
@@ -59,7 +59,7 @@ void SourceGeneratorBase::WriteGeneratedCodeAttributes(io::Printer* printer) {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
std::string SourceGeneratorBase::class_access_level() {
|
|
std::string SourceGeneratorBase::class_access_level() {
|
|
|
- return (IsDescriptorProto(descriptor_) || this->options()->internal_access) ? "internal" : "public";
|
|
|
|
|
|
|
+ return this->options()->internal_access ? "internal" : "public";
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
const Options* SourceGeneratorBase::options() {
|
|
const Options* SourceGeneratorBase::options() {
|