mirror of
https://github.com/cemu-project/vcpkg.git
synced 2025-02-23 11:07:10 +01:00
Add missing method const
This commit is contained in:
parent
f3a43d98ab
commit
639f993798
@ -151,8 +151,8 @@ namespace vcpkg::Dependencies
|
||||
PackageGraph(const PortFileProvider& provider, const StatusParagraphs& status_db);
|
||||
~PackageGraph();
|
||||
|
||||
void install(const FeatureSpec& spec);
|
||||
void upgrade(const PackageSpec& spec);
|
||||
void install(const FeatureSpec& spec) const;
|
||||
void upgrade(const PackageSpec& spec) const;
|
||||
|
||||
std::vector<AnyAction> serialize() const;
|
||||
|
||||
|
@ -527,7 +527,7 @@ namespace vcpkg::Dependencies
|
||||
return create_feature_install_plan(provider, specs, status_db);
|
||||
}
|
||||
|
||||
void PackageGraph::install(const FeatureSpec& spec)
|
||||
void PackageGraph::install(const FeatureSpec& spec) const
|
||||
{
|
||||
Cluster& spec_cluster = m_graph->get(spec.spec());
|
||||
spec_cluster.request_type = RequestType::USER_REQUESTED;
|
||||
@ -565,7 +565,7 @@ namespace vcpkg::Dependencies
|
||||
m_graph_plan->install_graph.add_vertex(ClusterPtr{&spec_cluster});
|
||||
}
|
||||
|
||||
void PackageGraph::upgrade(const PackageSpec& spec)
|
||||
void PackageGraph::upgrade(const PackageSpec& spec) const
|
||||
{
|
||||
Cluster& spec_cluster = m_graph->get(spec);
|
||||
spec_cluster.request_type = RequestType::USER_REQUESTED;
|
||||
|
Loading…
x
Reference in New Issue
Block a user