diff options
author | Feng Xiao <xfxyjwf@gmail.com> | 2016-09-22 17:46:22 -0700 |
---|---|---|
committer | Bo Yang <teboring@google.com> | 2016-10-10 11:44:21 -0700 |
commit | 460e7dd7c47b5a3fc290008317c044fac741916a (patch) | |
tree | 07ba6084281627598eff9afeeafe4a381bd90569 /src/google/protobuf/compiler/command_line_interface.cc | |
parent | 4cf072248fc39d1c63dcb1600ff9e73df8757779 (diff) | |
download | protobuf-460e7dd7c47b5a3fc290008317c044fac741916a.tar.gz protobuf-460e7dd7c47b5a3fc290008317c044fac741916a.tar.bz2 protobuf-460e7dd7c47b5a3fc290008317c044fac741916a.zip |
Fix Visual Studio compile issues.
Change-Id: I6a5078b6bcdf4637e11c1cb9da1f74298e6fc26e
Diffstat (limited to 'src/google/protobuf/compiler/command_line_interface.cc')
-rw-r--r-- | src/google/protobuf/compiler/command_line_interface.cc | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/google/protobuf/compiler/command_line_interface.cc b/src/google/protobuf/compiler/command_line_interface.cc index 0d1c30ce..79d2dd66 100644 --- a/src/google/protobuf/compiler/command_line_interface.cc +++ b/src/google/protobuf/compiler/command_line_interface.cc @@ -1179,14 +1179,12 @@ CommandLineInterface::InterpretArgument(const string& name, if (direct_dependencies_explicitly_set_) { std::cerr << name << " may only be passed once. To specify multiple " "direct dependencies, pass them all as a single " - "parameter separated by '" - << kPathSeparator << "'." << std::endl; + "parameter separated by ':'." << std::endl; return PARSE_ARGUMENT_FAIL; } direct_dependencies_explicitly_set_ = true; - vector<string> direct = Split( - value, kPathSeparator, true); + vector<string> direct = Split(value, ":", true); GOOGLE_DCHECK(direct_dependencies_.empty()); direct_dependencies_.insert(direct.begin(), direct.end()); |