Temporarily use get_or_throw()

This commit is contained in:
Alexander Karatarakis 2016-10-04 14:55:33 -07:00
parent 7d13495cf9
commit 79f823590d

View File

@ -135,7 +135,7 @@ static std::string get_fullpkgname_from_listfile(const fs::path& path)
static fs::path prefix_path_for_package(const vcpkg_paths& paths, const BinaryParagraph& pgh)
{
return paths.package_dir(*package_spec::from_name_and_triplet(pgh.name, pgh.target_triplet).get());
return paths.package_dir(package_spec::from_name_and_triplet(pgh.name, pgh.target_triplet).get_or_throw());
}
static void write_update(const vcpkg_paths& paths, const StatusParagraph& p)