diff options
Diffstat (limited to 'src/gui/models/playerrelationlistmodel.h')
-rw-r--r-- | src/gui/models/playerrelationlistmodel.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/models/playerrelationlistmodel.h b/src/gui/models/playerrelationlistmodel.h index 3fedec8bc..b23cea0f8 100644 --- a/src/gui/models/playerrelationlistmodel.h +++ b/src/gui/models/playerrelationlistmodel.h @@ -53,12 +53,12 @@ class PlayerRelationListModel final : public ListModel ~PlayerRelationListModel() { } - int getNumberOfElements() final + int getNumberOfElements() override final { return PlayerRelation::RELATIONS_NR; } - std::string getElementAt(int i) final + std::string getElementAt(int i) override final { if (i >= getNumberOfElements() || i < 0) return ""; |