aboutsummaryrefslogtreecommitdiff
path: root/enginedata.h
diff options
context:
space:
mode:
Diffstat (limited to 'enginedata.h')
-rw-r--r--enginedata.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/enginedata.h b/enginedata.h
index 1b9feb4..e5d488e 100644
--- a/enginedata.h
+++ b/enginedata.h
@@ -1,5 +1,8 @@
+#pragma once
+
#include <string>
#include <map>
+#include <list>
#include "Maybe.h"
using namespace std;
@@ -56,7 +59,7 @@ struct Table{
~Table(void);
Table(Table &&other);
- void insert(Row &&row);
- void insert(Row &row);
- Maybe<Row> find(const string &key);
+ bool insert(Row &&row);
+ bool insert(Row &row);
+ list<Row> find(const string &key);
};