From 02cb3becf3fc66e217e907b8a1c79fde3f41d153 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Sat, 28 May 2022 16:24:04 +0300 Subject: Autocommit at 28.05.2022 @ 16:24 --- src/Models/CellFormula.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/Models/CellFormula.h') 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 { enum Op { none, plus, @@ -21,6 +21,8 @@ class CellFormula : public Cell { double calculate(unsigned index = 0); + double getValue() override; + public: CellFormula() = default; -- cgit v1.3.1-23-gd82d