瀏覽代碼

Fix up parameter name so decl matches defn

className -> class_name
dmaclach 5 年之前
父節點
當前提交
836d81a826
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      src/google/protobuf/compiler/objectivec/objectivec_helpers.h

+ 2 - 2
src/google/protobuf/compiler/objectivec/objectivec_helpers.h

@@ -120,12 +120,12 @@ string PROTOC_EXPORT OneofNameCapitalized(const OneofDescriptor* descriptor);
 
 
 // Returns a symbol that can be used in C code to refer to an Objective C
 // Returns a symbol that can be used in C code to refer to an Objective C
 // class without initializing the class.
 // class without initializing the class.
-string PROTOC_EXPORT ObjCClassSymbolReference(const string& className);
+string PROTOC_EXPORT ObjCClassSymbolReference(const string& class_name);
 
 
 // Defines a symbol that can be used in C code to refer to an Objective C
 // Defines a symbol that can be used in C code to refer to an Objective C
 // class without initializing the class. Use a corresponding
 // class without initializing the class. Use a corresponding
 // ObjCClassSymbolReference to reference it.
 // ObjCClassSymbolReference to reference it.
-string PROTOC_EXPORT ObjCClassSymbolDefinition(const string& className);
+string PROTOC_EXPORT ObjCClassSymbolDefinition(const string& class_name);
 
 
 inline bool HasFieldPresence(const FileDescriptor* file) {
 inline bool HasFieldPresence(const FileDescriptor* file) {
   return file->syntax() != FileDescriptor::SYNTAX_PROTO3;
   return file->syntax() != FileDescriptor::SYNTAX_PROTO3;