Commit 4abc2aa0 authored by Christopher Dykes's avatar Christopher Dykes Committed by Facebook Github Bot

Don't expect .native() to return a string

Summary: It's called `.native()` for a reason, and returns a `wstring` on windows, so call `string()` instead.

Reviewed By: yfeldblum

Differential Revision: D4229254

fbshipit-source-id: d5f9658b41f45fd719ca3e878a2e61c9dce24f10
parent f405f9de
......@@ -32,7 +32,7 @@ std::string getHelperPath() {
if (!fs::exists(path)) {
path = path.parent_path().parent_path() / basename / basename;
}
return path.native();
return path.string();
}
std::string callHelper(std::initializer_list<std::string> args,
......
......@@ -33,7 +33,7 @@ std::string getHelperPath() {
if (!fs::exists(path)) {
path = path.parent_path().parent_path() / basename / basename;
}
return path.native();
return path.string();
}
std::string callHelper(ProgramOptionsStyle style,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment