diff --git a/src/google/protobuf/compiler/cpp/extension.cc b/src/google/protobuf/compiler/cpp/extension.cc index ada93f7697..3b43ccb798 100644 --- a/src/google/protobuf/compiler/cpp/extension.cc +++ b/src/google/protobuf/compiler/cpp/extension.cc @@ -34,11 +34,11 @@ #include "google/protobuf/compiler/cpp/extension.h" -#include "google/protobuf/io/printer.h" #include "absl/strings/str_cat.h" #include "absl/strings/str_replace.h" #include "google/protobuf/compiler/cpp/helpers.h" #include "google/protobuf/descriptor.pb.h" +#include "google/protobuf/io/printer.h" namespace google { namespace protobuf { diff --git a/src/google/protobuf/compiler/cpp/helpers.h b/src/google/protobuf/compiler/cpp/helpers.h index 8e537f22aa..1afe4b1728 100644 --- a/src/google/protobuf/compiler/cpp/helpers.h +++ b/src/google/protobuf/compiler/cpp/helpers.h @@ -49,10 +49,10 @@ #include "google/protobuf/compiler/cpp/names.h" #include "google/protobuf/compiler/cpp/options.h" #include "google/protobuf/descriptor.pb.h" -#include "google/protobuf/io/printer.h" #include "google/protobuf/descriptor.h" #include "google/protobuf/port.h" #include "absl/strings/str_cat.h" +#include "google/protobuf/io/printer.h" // Must be included last. #include "google/protobuf/port_def.inc" diff --git a/src/google/protobuf/compiler/cpp/message_field.cc b/src/google/protobuf/compiler/cpp/message_field.cc index aad0f7e32f..762c04c3cd 100644 --- a/src/google/protobuf/compiler/cpp/message_field.cc +++ b/src/google/protobuf/compiler/cpp/message_field.cc @@ -34,11 +34,11 @@ #include "google/protobuf/compiler/cpp/message_field.h" -#include "google/protobuf/io/printer.h" #include "absl/container/flat_hash_map.h" #include "absl/strings/str_cat.h" #include "google/protobuf/compiler/cpp/field.h" #include "google/protobuf/compiler/cpp/helpers.h" +#include "google/protobuf/io/printer.h" namespace google { namespace protobuf { diff --git a/src/google/protobuf/compiler/cpp/plugin_unittest.cc b/src/google/protobuf/compiler/cpp/plugin_unittest.cc index 30bd3742b1..b303bd0bbb 100644 --- a/src/google/protobuf/compiler/cpp/plugin_unittest.cc +++ b/src/google/protobuf/compiler/cpp/plugin_unittest.cc @@ -40,10 +40,10 @@ #include "google/protobuf/testing/file.h" #include "google/protobuf/compiler/cpp/generator.h" #include "google/protobuf/compiler/command_line_interface.h" -#include "google/protobuf/io/printer.h" -#include "google/protobuf/io/zero_copy_stream.h" #include "google/protobuf/testing/googletest.h" #include +#include "google/protobuf/io/printer.h" +#include "google/protobuf/io/zero_copy_stream.h" namespace google { namespace protobuf {