Index: courgette/courgette_tool.cc |
diff --git a/courgette/courgette_tool.cc b/courgette/courgette_tool.cc |
index fe082047d13d80af67d49c519dc38e4a7ee85d7e..d36f4f1774fef1743950f50693959ad22d4a3852 100644 |
--- a/courgette/courgette_tool.cc |
+++ b/courgette/courgette_tool.cc |
@@ -419,11 +419,12 @@ int main(int argc, const char* argv[]) { |
// TODO(evanm): this whole file should use FilePaths instead of wstrings. |
std::vector<std::wstring> values; |
- for (size_t i = 0; i < command_line.args().size(); ++i) { |
+ const CommandLine::StringVector& args = command_line.GetArgs(); |
+ for (size_t i = 0; i < args.size(); ++i) { |
#if defined(OS_WIN) |
- values.push_back(command_line.args()[i]); |
+ values.push_back(args[i]); |
#else |
- values.push_back(ASCIIToWide(command_line.args()[i])); |
+ values.push_back(ASCIIToWide(args[i])); |
#endif |
} |