diff options
| author | 2019-07-28 02:40:38 +0200 | |
|---|---|---|
| committer | 2019-07-28 02:40:38 +0200 | |
| commit | 260eb451a04ed8af2cdc18375b8c4b5270cd9418 (patch) | |
| tree | 4be101cd76e3154c4e3abdeb47b5b3c780e38ab5 /range.h | |
| parent | b720a51745b5473cd9054cb0ed7493017ace23b1 (diff) | |
| download | OneRoll-260eb451a04ed8af2cdc18375b8c4b5270cd9418.tar.gz OneRoll-260eb451a04ed8af2cdc18375b8c4b5270cd9418.zip | |
add override
Diffstat (limited to 'range.h')
| -rw-r--r-- | range.h | 7 |
1 files changed, 3 insertions, 4 deletions
@@ -35,10 +35,9 @@ public: void setValue(qint64, qint64); void setStart(qint64); void setEnd(qint64); - virtual qint64 hasValid(Die* b, bool recursive, bool unlight= false) const; + virtual qint64 hasValid(Die* b, bool recursive, bool unlight= false) const override; - virtual QString toString(); - virtual bool isValidRangeSize(std::pair<qint64, qint64> range) const; + virtual QString toString() override; virtual Dice::CONDITION_STATE isValidRangeSize(const std::pair<qint64, qint64>& range) const override; bool isFullyDefined() const; @@ -48,7 +47,7 @@ public: void setEmptyRange(bool); bool isEmptyRange(); - virtual Validator* getCopy() const; + virtual Validator* getCopy() const override; private: qint64 m_start= 0; |