[Build] Fix toolchain rot: const PlayerReference comparison, static writeMetadata

This commit is contained in:
Lukas Brübach 2026-10-11 15:25:36 +02:00
parent fdbc4734a4
commit 7a4cfa5685
2 changed files with 2 additions and 2 deletions

View file

@ -166,7 +166,7 @@ bool DeckList::readElement(QXmlStreamReader *xml)
return true;
}
void writeMetadata(QXmlStreamWriter *xml, const DeckList::Metadata &metadata)
static void writeMetadata(QXmlStreamWriter *xml, const DeckList::Metadata &metadata)
{
xml->writeTextElement("lastLoadedTimestamp", metadata.lastLoadedTimestamp);
xml->writeTextElement("deckname", metadata.name);

View file

@ -24,7 +24,7 @@ public:
{
return playerId;
}
bool operator==(const PlayerReference &other)
bool operator==(const PlayerReference &other) const
{
return ((roomId == other.roomId) && (gameId == other.gameId) && (playerId == other.playerId));
}