diff options
Diffstat (limited to 'logic/minecraft/GradleSpecifier.h')
-rw-r--r-- | logic/minecraft/GradleSpecifier.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/logic/minecraft/GradleSpecifier.h b/logic/minecraft/GradleSpecifier.h index 8a02e4d9..411aed65 100644 --- a/logic/minecraft/GradleSpecifier.h +++ b/logic/minecraft/GradleSpecifier.h @@ -101,11 +101,11 @@ struct GradleSpecifier { return m_groupId + ":" + m_artifactId; } - bool matchName(const GradleSpecifier & other) + bool matchName(const GradleSpecifier & other) const { return other.artifactId() == artifactId() && other.groupId() == groupId(); } - bool operator==(const GradleSpecifier & other) + bool operator==(const GradleSpecifier & other) const { if(m_groupId != other.m_groupId) return false; |