aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-05-02 07:42:21 +0200
committerdec05eba <dec05eba@protonmail.com>2020-08-18 23:25:46 +0200
commit31c1b5b9480d7730aba08aed78a4a240268568f4 (patch)
treea45557dfceca3fe783b808c9b8ba8764e2188632
parent9197a6118d810356263e92cbb48c406f8e3d3a05 (diff)
Fix add user callback bug, missing assignment in constructor...
-rw-r--r--include/odhtdb/Database.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/odhtdb/Database.hpp b/include/odhtdb/Database.hpp
index e34fd9d..cf24c7e 100644
--- a/include/odhtdb/Database.hpp
+++ b/include/odhtdb/Database.hpp
@@ -102,6 +102,8 @@ namespace odhtdb
const Group *groupToAddUserTo;
DatabaseAddUserRequest(const Hash *_nodeHash, const Hash *_requestHash, u64 _timestamp, const User *_creatorUser, const User *_userToAdd, const Group *_groupToAddUserTo) :
+ nodeHash(_nodeHash),
+ requestHash(_requestHash),
timestamp(_timestamp),
creatorUser(_creatorUser),
userToAdd(_userToAdd),