Build path throuh fs::path APIs instead of Strings::format()

This commit is contained in:
Alexander Karatarakis 2017-01-23 16:02:02 -08:00
parent 691f337bb3
commit c1aca5d4ad
1 changed files with 1 additions and 1 deletions

View File

@ -127,7 +127,7 @@ namespace vcpkg::Environment
for (const fs::path& subdir : msvc_subdirectories)
{
const fs::path dumpbin_path = Strings::format(R"(%s\bin\HostX86\x86\dumpbin.exe)", subdir.generic_string());
const fs::path dumpbin_path = subdir / "bin" / "HostX86" / "x86" / "dumpbin.exe";
paths_examined.push_back(dumpbin_path);
if (fs::exists(dumpbin_path))
{