From b60d9f2d6bac4685661bb9faa83d56957125bdba Mon Sep 17 00:00:00 2001 From: Aleksandr Parfenov Date: Tue, 5 May 2020 16:08:07 +0300 Subject: [PATCH] Fix include path to reflection.h in documentation There is a note in the documentation to `Reflection::GetRepeatedFieldRef()` about file `net/proto2/public/reflection.h` which contains a definition of `RepeatedFieldRef`. Since there are few places in code with rewrite of `net...` path to `google/protobuf/...` it looks like the first one is a legacy path and should be renamed to `google/protobuf` in documentation as well. --- src/google/protobuf/message.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/google/protobuf/message.h b/src/google/protobuf/message.h index 58622ebbef..cd28e66553 100644 --- a/src/google/protobuf/message.h +++ b/src/google/protobuf/message.h @@ -740,7 +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 - // "net/proto2/public/reflection.h" (which defines the RepeatedFieldRef + // "google/protobuf/reflection.h" (which defines the RepeatedFieldRef // class templates). template RepeatedFieldRef GetRepeatedFieldRef(const Message& message,