aboutsummaryrefslogtreecommitdiff
path: root/include/StagedObject.hpp
diff options
context:
space:
mode:
authordec05eba <dec05eba@protonmail.com>2018-03-09 10:26:55 +0100
committerdec05eba <dec05eba@protonmail.com>2020-08-18 23:25:46 +0200
commit0e62cb8e5ed06d906ad84321cdda22acfcc952c9 (patch)
tree9ba0cc8e20febb4bf07d4d065e3d653ed651bdda /include/StagedObject.hpp
parenteda9a7bbefc5587bf1ff895a9214f450e64575fa (diff)
Partially implement 'add' operation
Diffstat (limited to 'include/StagedObject.hpp')
-rw-r--r--include/StagedObject.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/include/StagedObject.hpp b/include/StagedObject.hpp
index a75664e..0c9b534 100644
--- a/include/StagedObject.hpp
+++ b/include/StagedObject.hpp
@@ -6,14 +6,14 @@
namespace odhtdb
{
- struct StagedCreateObject
+ struct StagedObject
{
- DISABLE_COPY(StagedCreateObject)
- DataView encryptedBody;
+ DISABLE_COPY(StagedObject)
+ DataView data;
std::shared_ptr<Hash> requestKey;
- StagedCreateObject(DataView &_encryptedBody, const std::shared_ptr<Hash> &_requestKey) :
- encryptedBody(_encryptedBody),
+ StagedObject(DataView &_data, const std::shared_ptr<Hash> &_requestKey) :
+ data(_data),
requestKey(_requestKey)
{