Internal change

PiperOrigin-RevId: 485009969
pull/10846/head
Protobuf Team Bot 2 years ago committed by Joshua Haberman
parent 807cd1c839
commit 700fbde7ab
  1. 1
      src/google/protobuf/compiler/BUILD.bazel
  2. 3
      src/google/protobuf/compiler/command_line_interface.cc

@ -83,7 +83,6 @@ cc_library(
":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",
],

@ -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 @@ class CommandLineInterface::GeneratorContextImpl : public GeneratorContext {
// 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_;
};

Loading…
Cancel
Save