aboutsummaryrefslogtreecommitdiff
path: root/enginedata.h
diff options
context:
space:
mode:
Diffstat (limited to 'enginedata.h')
-rw-r--r--enginedata.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/enginedata.h b/enginedata.h
index 071dd93..0b6b472 100644
--- a/enginedata.h
+++ b/enginedata.h
@@ -31,15 +31,16 @@ struct ColHeader{
};
struct Row{
- const int nc;
- const Table *table; //pointer to the parent table; don't delete!
+ int nc;
+ Table *table; //pointer to the parent table; don't delete!
RowItem *items;
Row(void);
- Row(const int _nc,const Table *const _t);
+ Row(const int _nc,Table *_t);
~Row(void);
Row(Row &&other); //move constr
Row(const Row &other); //copy constr
+ Row& operator=(const Row &other); //copy assignment
friend ostream& operator<<(ostream &os,const Row &r);
};