mirror of
https://github.com/microsoft/vcpkg.git
synced 2025-01-15 04:40:37 +08:00
Temporarily use get_or_throw()
This commit is contained in:
parent
7d13495cf9
commit
79f823590d
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user