diff options
Autocommit at 28.05.2022 @ 19:44
1 files changed, 1 insertions, 10 deletions
| -rw-r--r-- | src/Models/CellFormula.h | 11 |
diff --git a/src/Models/CellFormula.h b/src/Models/CellFormula.h index c4bb509..2aaba0f 100644 --- a/src/Models/CellFormula.h +++ b/src/Models/CellFormula.h @@ -7,19 +7,10 @@ #include "../Generic/Pair/Pair.hpp" class CellFormula : public Cell { - enum Op { - none = 0, - plus = '+', - minus = '-', - mult = '*', - div = '/', - pow = '^', - }; - const List<List<Cell*>>* tableCells; List<CellDouble> localCells; - List<Pair<Cell*, Op>> formula; + List<Pair<Cell*, char>> formula; String rawFormula; double calculate(unsigned index = 0); |
