summaryrefslogtreecommitdiffstats
path: root/o3d/converter/cross/verifier_main.cc
diff options
context:
space:
mode:
Diffstat (limited to 'o3d/converter/cross/verifier_main.cc')
-rw-r--r--o3d/converter/cross/verifier_main.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/o3d/converter/cross/verifier_main.cc b/o3d/converter/cross/verifier_main.cc
index 1f7280c..931fa39 100644
--- a/o3d/converter/cross/verifier_main.cc
+++ b/o3d/converter/cross/verifier_main.cc
@@ -69,12 +69,12 @@ int CrossMain(int argc, char**argv) {
FilePath in_filename, out_filename;
- const std::vector<CommandLine::StringType>& values = args->args();
+ std::vector<std::wstring> values = command_line->GetLooseValues();
if (values.size() == 1) {
- in_filename = FilePath(values[0]);
+ in_filename = o3d::WideToFilePath(values[0]);
} else if (values.size()== 2) {
- in_filename = FilePath(values[0]);
- out_filename = FilePath(values[1]);
+ in_filename = o3d::WideToFilePath(values[0]);
+ out_filename = o3d::WideToFilePath(values[1]);
} else {
std::cerr << "Usage: " << FilePath(argv[0]).BaseName().value()
<< " [--no-condition] <infile.fx> [<outfile.fx>]\n";