summaryrefslogtreecommitdiff
path: root/src/discipline/Sport.h
diff options
context:
space:
mode:
authorSteru <jerrydream111@gmail.com>2024-08-05 13:08:44 +0200
committerSteru <jerrydream111@gmail.com>2024-08-05 13:08:44 +0200
commit2476684e3c0798fbc9979d436c4288216400d87c (patch)
treea42c15b76c17808919d602c3ecd93f12e0524074 /src/discipline/Sport.h
parent77f8836508a4c28c7c6c1352ff891c5d36d00237 (diff)
Added guards for a little more stability.
Diffstat (limited to 'src/discipline/Sport.h')
-rw-r--r--src/discipline/Sport.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/discipline/Sport.h b/src/discipline/Sport.h
index 9156b82..9175ad0 100644
--- a/src/discipline/Sport.h
+++ b/src/discipline/Sport.h
@@ -76,6 +76,8 @@ private:
void filterCompetitors(QJsonArray &competitors, QString attribute, QString filter);
void sortCompetitors(QJsonArray &competitors, function<bool (const QJsonValue &left, const QJsonValue &right)> compare);
+
+ bool validateDiscipline();
QJsonObject createCompetitorWithMedals(QJsonObject medalComp);
};