From 8edc89703e5e0be26471432bc0e953d694bc92a5 Mon Sep 17 00:00:00 2001 From: Renaud G Date: Sun, 18 Mar 2018 17:43:27 +0100 Subject: -Get copy for result --- result/diceresult.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'result/diceresult.h') diff --git a/result/diceresult.h b/result/diceresult.h index ae16daf..3dac826 100644 --- a/result/diceresult.h +++ b/result/diceresult.h @@ -78,6 +78,8 @@ public: Die::ArithmeticOperator getOperator() const; void setOperator(const Die::ArithmeticOperator & dieOperator); bool contains(Die *die, const std::function equal); + + virtual Result* getCopy() const; private: qreal getScalarResult(); private: -- cgit v1.2.3-70-g09d2