Skip to content

Commit

Permalink
Make member functions const
Browse files Browse the repository at this point in the history
  • Loading branch information
alexkaratarakis committed Aug 29, 2017
1 parent c2571cf commit b1cebc0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions toolsrc/src/vcpkg_Dependencies.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ namespace vcpkg::Dependencies
{
Cluster* ptr;

Cluster* operator->() { return ptr; }
Cluster* operator->() const { return ptr; }
};

bool operator==(const ClusterPtr& l, const ClusterPtr& r) { return l.ptr == r.ptr; }
Expand Down Expand Up @@ -87,7 +87,7 @@ namespace vcpkg::Dependencies
}

private:
void cluster_from_scf(const SourceControlFile& scf, Cluster& out_cluster)
void cluster_from_scf(const SourceControlFile& scf, Cluster& out_cluster) const
{
FeatureNodeEdges core_dependencies;
core_dependencies.build_edges =
Expand Down

0 comments on commit b1cebc0

Please sign in to comment.