From 3edcbaf57a3dc3bc60a9c8e80e9edac813d86b1d Mon Sep 17 00:00:00 2001 From: Bo Yang Date: Wed, 4 Feb 2015 13:42:16 -0800 Subject: Clean code --- src/google/protobuf/compiler/command_line_interface.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/google/protobuf/compiler/command_line_interface.h') diff --git a/src/google/protobuf/compiler/command_line_interface.h b/src/google/protobuf/compiler/command_line_interface.h index 13e93c54..92c578c8 100644 --- a/src/google/protobuf/compiler/command_line_interface.h +++ b/src/google/protobuf/compiler/command_line_interface.h @@ -247,10 +247,10 @@ class LIBPROTOC_EXPORT CommandLineInterface { // Implements the --descriptor_set_out option. bool WriteDescriptorSet(const vector parsed_files); - // Implements the --manifest-file option + // Implements the --dependency_out option bool GenerateDependencyManifestFile( - const vector parsed_files, - DiskSourceTree * source_tree); + const vector& parsed_files, + DiskSourceTree* source_tree); // Get all transitive dependencies of the given file (including the file // itself), adding them to the given list of FileDescriptorProtos. The @@ -360,7 +360,7 @@ class LIBPROTOC_EXPORT CommandLineInterface { // If --dependency_out was given, this is the filename to which the input file // should be written. Otherwise, empty. - string dependency_manifest_name_; + string dependency_out_name_; // True if --include_imports was given, meaning that we should // write all transitive dependencies to the DescriptorSet. Otherwise, only -- cgit v1.2.3