浏览代码

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.
   //
   // 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>
   RepeatedFieldRef<T> GetRepeatedFieldRef(const Message& message,
                                           const FieldDescriptor* field) const;