mirror of https://github.com/microsoft/vcpkg.git
Add find_installed() overload
This commit is contained in:
parent
ad24821dce
commit
c91ac99d4a
|
|
@ -20,6 +20,11 @@ namespace vcpkg
|
|||
}
|
||||
const_iterator find(const std::string& name, const Triplet& target_triplet) const;
|
||||
iterator find(const std::string& name, const Triplet& target_triplet);
|
||||
|
||||
const_iterator find_installed(const PackageSpec& spec) const
|
||||
{
|
||||
return find_installed(spec.name(), spec.target_triplet());
|
||||
}
|
||||
const_iterator find_installed(const std::string& name, const Triplet& target_triplet) const;
|
||||
|
||||
iterator insert(std::unique_ptr<StatusParagraph>);
|
||||
|
|
|
|||
Loading…
Reference in New Issue