diff options
| author | 2019-07-28 00:54:44 +0200 | |
|---|---|---|
| committer | 2019-07-28 00:54:44 +0200 | |
| commit | 72741802a92c1420a7b709ef0c8b0cad1897c302 (patch) | |
| tree | f67fae62a13dda0db811996d3f6611c5361103f5 /booleancondition.h | |
| parent | c707c48c5b809827a2b5b63489be65efe71506e3 (diff) | |
| download | OneRoll-72741802a92c1420a7b709ef0c8b0cad1897c302.tar.gz OneRoll-72741802a92c1420a7b709ef0c8b0cad1897c302.zip | |
fix timeouts about valid range
Diffstat (limited to 'booleancondition.h')
| -rw-r--r-- | booleancondition.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/booleancondition.h b/booleancondition.h index c542a0c..54c243a 100644 --- a/booleancondition.h +++ b/booleancondition.h @@ -42,20 +42,20 @@ public: Different }; BooleanCondition(); - virtual ~BooleanCondition(); + virtual ~BooleanCondition() override; - virtual qint64 hasValid(Die* b, bool recursive, bool unhighlight= false) const; + virtual qint64 hasValid(Die* b, bool recursive, bool unhighlight= false) const override; void setOperator(LogicOperator m); void setValueNode(ExecutionNode*); QString toString(); - virtual bool isValidRangeSize(std::pair<qint64, qint64> range) const; + virtual Dice::CONDITION_STATE isValidRangeSize(const std::pair<qint64, qint64>& range) const override; /** * @brief getCopy * @return */ - virtual Validator* getCopy() const; + virtual Validator* getCopy() const override; private: qint64 valueToScalar() const; |