diff options
Autocommit at 28.05.2022 @ 16:24
1 files changed, 3 insertions, 1 deletions
| -rw-r--r-- | src/Models/CellFormula.h | 4 |
diff --git a/src/Models/CellFormula.h b/src/Models/CellFormula.h index 3074846..e360278 100644 --- a/src/Models/CellFormula.h +++ b/src/Models/CellFormula.h @@ -5,7 +5,7 @@ #include "../Generic/List/List.hpp" #include "../Generic/Pair/Pair.hpp" -class CellFormula : public Cell { +class CellFormula : public Cell<double> { enum Op { none, plus, @@ -21,6 +21,8 @@ class CellFormula : public Cell { double calculate(unsigned index = 0); + double getValue() override; + public: CellFormula() = default; |
