소스 검색

Update comment for GetRepeatedFieldRef

Use just reflection.h in documentation instead of full path
Aleksandr Parfenov 5 년 전
부모
커밋
5efd1215f5
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      src/google/protobuf/message.h

+ 1 - 2
src/google/protobuf/message.h

@@ -740,8 +740,7 @@ class PROTOBUF_EXPORT Reflection final {
   // long as the message is not destroyed.
   // long as the message is not destroyed.
   //
   //
   // Note that to use this method users need to include the header file
   // Note that to use this method users need to include the header file
-  // "google/protobuf/reflection.h" (which defines the RepeatedFieldRef
-  // class templates).
+  // "reflection.h" (which defines the RepeatedFieldRef class templates).
   template <typename T>
   template <typename T>
   RepeatedFieldRef<T> GetRepeatedFieldRef(const Message& message,
   RepeatedFieldRef<T> GetRepeatedFieldRef(const Message& message,
                                           const FieldDescriptor* field) const;
                                           const FieldDescriptor* field) const;