session creation fixed

This commit is contained in:
C
2022-07-20 12:30:46 +05:00
parent 36ff1cbd7b
commit 81be0c6db8
6 changed files with 139 additions and 70 deletions
+4 -4
View File
@@ -10,7 +10,7 @@
#pragma once
class user
{
public:
private:
std::string name = "";
char age = 0;
uint32_t id = 0;
@@ -25,8 +25,8 @@ public:
{
this->id = id;
}
std::string getName() { return name; }
char getAge() { return age; }
uint32_t getId() { return id; }
std::string getName() const { return name; }
char getAge() const { return age; }
uint32_t getId() const { return id; }
};