summaryrefslogtreecommitdiff
path: root/src/search/Save.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/search/Save.h')
-rw-r--r--src/search/Save.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/search/Save.h b/src/search/Save.h
index a3ef485..91a1ec4 100644
--- a/src/search/Save.h
+++ b/src/search/Save.h
@@ -10,8 +10,6 @@ class Save
private:
int id;
int votesUp, votesDown;
- string userName;
- string name;
public:
Save(int _id, int _votesUp, int _votesDown, string _userName, string _name):
id(_id),
@@ -22,6 +20,9 @@ public:
{
}
+ string userName;
+ string name;
+
void SetName(string name){ this->name = name; }
string GetName(){ return name; }