Internal change PiperOrigin-RevId: 485009969
diff --git a/src/google/protobuf/compiler/BUILD.bazel b/src/google/protobuf/compiler/BUILD.bazel index d60d78f..af05903 100644 --- a/src/google/protobuf/compiler/BUILD.bazel +++ b/src/google/protobuf/compiler/BUILD.bazel
@@ -83,7 +83,6 @@ ":code_generator", ":importer", "//src/google/protobuf:protobuf_nowkt", - "@com_google_absl//absl/container:btree", "@com_google_absl//absl/strings", "@com_google_absl//absl/strings:str_format", ],
diff --git a/src/google/protobuf/compiler/command_line_interface.cc b/src/google/protobuf/compiler/command_line_interface.cc index 80916fd..7cff1e3 100644 --- a/src/google/protobuf/compiler/command_line_interface.cc +++ b/src/google/protobuf/compiler/command_line_interface.cc
@@ -34,7 +34,6 @@ #include "google/protobuf/compiler/command_line_interface.h" -#include "absl/container/btree_map.h" #include "absl/container/flat_hash_map.h" #include "google/protobuf/stubs/platform_macros.h" @@ -428,7 +427,7 @@ // The files_ field maps from path keys to file content values. It's a map // instead of an unordered_map so that files are written in order (good when // writing zips). - absl::btree_map<std::string, std::string> files_; + absl::flat_hash_map<std::string, std::string> files_; const std::vector<const FileDescriptor*>& parsed_files_; bool had_error_; };