diff options
author | dec05eba <dec05eba@protonmail.com> | 2018-04-14 19:45:15 +0200 |
---|---|---|
committer | dec05eba <dec05eba@protonmail.com> | 2020-08-18 23:25:46 +0200 |
commit | 414f2cafc6cf2fe141c011b0d63d447a9b983ac3 (patch) | |
tree | a0d53ca898b8586e7be97689fcb993d5405d08a0 /include/odhtdb/Group.hpp | |
parent | 53a1850ce2a253c574113684ac38c8ed31b1d0ae (diff) |
Store database storage to files, also loading
Diffstat (limited to 'include/odhtdb/Group.hpp')
-rw-r--r-- | include/odhtdb/Group.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/odhtdb/Group.hpp b/include/odhtdb/Group.hpp index 315961d..890b2fc 100644 --- a/include/odhtdb/Group.hpp +++ b/include/odhtdb/Group.hpp @@ -21,13 +21,13 @@ namespace odhtdb } }; - + const int GROUP_ID_LENGTH = 16; class Group { friend class User; public: - Group(const std::string &name, uint8_t id[16], const Permission &permission); + Group(const std::string &name, uint8_t id[GROUP_ID_LENGTH], const Permission &permission); ~Group(); const std::string& getName() const; @@ -38,7 +38,7 @@ namespace odhtdb void addUser(const User *user); private: std::string name; - uint8_t id[16]; + uint8_t id[GROUP_ID_LENGTH]; Permission permission; std::vector<const User*> users; }; |