Website Summary Files Commits Branches @commit @diff @stats
path: root / src / Models / CellInt.h
diff options
context:
space:
mode:
1 files changed, 3 insertions, 2 deletions
-rw-r--r--src/Models/CellInt.h5
diff --git a/src/Models/CellInt.h b/src/Models/CellInt.h
index 7256e5b..a14c062 100644
--- a/src/Models/CellInt.h
+++ b/src/Models/CellInt.h
@@ -3,12 +3,13 @@
#include "Cell.h"
-class CellInt : public Cell {
- unsigned value;
+class CellInt : public Cell<int> {
+ int value;
public:
CellInt() = default;
+ int getValue() override;
String getValueForPrint() override;
void parseAndSetValue(const char* str) override;
void readFromFile(std::ifstream& file) override;