소스 검색

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
 // 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
 // class without initializing the class. Use a corresponding
 // 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) {
   return file->syntax() != FileDescriptor::SYNTAX_PROTO3;