Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / CellFormula.h
diff options
context:
space:
mode:
1 files changed, 3 insertions, 1 deletions
-rw-r--r--src/Models/CellFormula.h4
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;