aboutsummaryrefslogtreecommitdiff
path: root/include/StagedObject.hpp
diff options
context:
space:
mode:
authorAleksi Lindeman <0xdec05eba@gmail.com>2018-03-09 10:26:55 +0100
committerAleksi Lindeman <0xdec05eba@gmail.com>2018-03-09 10:27:06 +0100
commit230e61091b401b8b2bb9496d557a15660fb5072b (patch)
tree13b937d93105c069d6478480c8a9ada45ccc2434 /include/StagedObject.hpp
parent2ffb47d0043e57707474e5ae811f97c2e5e93f25 (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)
{