diff options
author | Feng Xiao <xfxyjwf@gmail.com> | 2017-02-27 18:01:07 -0800 |
---|---|---|
committer | Feng Xiao <xfxyjwf@gmail.com> | 2017-02-27 18:01:07 -0800 |
commit | ffde972ac705e70f597267537b033d7c00ea54c5 (patch) | |
tree | 1bb2daf5f5771970b8b6a4d4f29b44ce7d4ddc06 /src/google/protobuf/compiler/command_line_interface.cc | |
parent | b4b0e304be5a68de3d0ee1af9b286f958750f5e4 (diff) | |
download | protobuf-ffde972ac705e70f597267537b033d7c00ea54c5.tar.gz protobuf-ffde972ac705e70f597267537b033d7c00ea54c5.tar.bz2 protobuf-ffde972ac705e70f597267537b033d7c00ea54c5.zip |
Remove the use of C++11 features.
Diffstat (limited to 'src/google/protobuf/compiler/command_line_interface.cc')
-rw-r--r-- | src/google/protobuf/compiler/command_line_interface.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/google/protobuf/compiler/command_line_interface.cc b/src/google/protobuf/compiler/command_line_interface.cc index 0c9b1fb5..1914fc48 100644 --- a/src/google/protobuf/compiler/command_line_interface.cc +++ b/src/google/protobuf/compiler/command_line_interface.cc @@ -1038,8 +1038,8 @@ CommandLineInterface::ParseArguments(int argc, const char* const argv[]) { continue; } bool foundImplicitPlugin = false; - for (std::vector<OutputDirective>::const_iterator j = output_directives_.cbegin(); - j != output_directives_.cend(); ++j) { + for (std::vector<OutputDirective>::const_iterator j = output_directives_.begin(); + j != output_directives_.end(); ++j) { if (j->generator == NULL) { string plugin_name = PluginName(plugin_prefix_ , j->name); if (plugin_name == i->first) { |