Prechádzať zdrojové kódy

Update comment for GetRepeatedFieldRef

Use just reflection.h in documentation instead of full path
Aleksandr Parfenov 5 rokov pred
rodič
commit
5efd1215f5
1 zmenil súbory, kde vykonal 1 pridanie a 2 odobranie
  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;