aboutsummaryrefslogtreecommitdiff
path: root/launcher/modplatform/ModIndex.h
diff options
context:
space:
mode:
authorRachel Powers <508861+Ryex@users.noreply.github.com>2023-05-26 16:34:30 -0700
committerRachel Powers <508861+Ryex@users.noreply.github.com>2023-05-26 16:34:30 -0700
commit832a61f88674ee1ba01d7618e1021184cc851e3a (patch)
tree7e53b7837874f530861a6e6cdea3e48ee15657d6 /launcher/modplatform/ModIndex.h
parentcf4df19986fe53357ef04b2a4407f69a2f4fa196 (diff)
downloadPrismLauncher-832a61f88674ee1ba01d7618e1021184cc851e3a.tar.gz
PrismLauncher-832a61f88674ee1ba01d7618e1021184cc851e3a.tar.bz2
PrismLauncher-832a61f88674ee1ba01d7618e1021184cc851e3a.zip
fix: make codeQl happy
Signed-off-by: Rachel Powers <508861+Ryex@users.noreply.github.com>
Diffstat (limited to 'launcher/modplatform/ModIndex.h')
-rw-r--r--launcher/modplatform/ModIndex.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/launcher/modplatform/ModIndex.h b/launcher/modplatform/ModIndex.h
index 10b61b16..f317d29e 100644
--- a/launcher/modplatform/ModIndex.h
+++ b/launcher/modplatform/ModIndex.h
@@ -65,8 +65,9 @@ struct IndexedVersionType {
IndexedVersionType(const IndexedVersionType& type);
IndexedVersionType() : IndexedVersionType(IndexedVersionType::Enum::UNKNOWN) {}
static const QString toString (const IndexedVersionType::Enum& type);
- static const IndexedVersionType::Enum enumFromString(const QString& type);
+ static IndexedVersionType::Enum enumFromString(const QString& type);
bool isValid() const {return m_type != IndexedVersionType::Enum::UNKNOWN; }
+ IndexedVersionType& operator=(const IndexedVersionType& other);
bool operator==(const IndexedVersionType& other) const { return m_type == other.m_type; }
bool operator==(const IndexedVersionType::Enum& type) const { return m_type == type; }
bool operator<(const IndexedVersionType& other) const { return m_type < other.m_type; }