summaryrefslogtreecommitdiffstats
path: root/logic/minecraft/GradleSpecifier.h
diff options
context:
space:
mode:
authorPetr Mrázek <peterix@gmail.com>2014-07-26 23:00:35 +0200
committerPetr Mrázek <peterix@gmail.com>2014-07-26 23:00:35 +0200
commit03b13b0b3f43e830ca924338b38e1947cd0cc739 (patch)
tree08941e693ab365f934beba04d69aacf481be40d1 /logic/minecraft/GradleSpecifier.h
parent9b82c87c92761515a11f00540a6bf74df6c76298 (diff)
downloadMultiMC-03b13b0b3f43e830ca924338b38e1947cd0cc739.tar
MultiMC-03b13b0b3f43e830ca924338b38e1947cd0cc739.tar.gz
MultiMC-03b13b0b3f43e830ca924338b38e1947cd0cc739.tar.lz
MultiMC-03b13b0b3f43e830ca924338b38e1947cd0cc739.tar.xz
MultiMC-03b13b0b3f43e830ca924338b38e1947cd0cc739.zip
Rearrange RawLibrary and OneSixLibrary heavily.
Fix #396
Diffstat (limited to 'logic/minecraft/GradleSpecifier.h')
-rw-r--r--logic/minecraft/GradleSpecifier.h4
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;