aboutsummaryrefslogtreecommitdiff
path: root/src/zencore
diff options
context:
space:
mode:
Diffstat (limited to 'src/zencore')
-rw-r--r--src/zencore/include/zencore/compactbinarypackage.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/zencore/include/zencore/compactbinarypackage.h b/src/zencore/include/zencore/compactbinarypackage.h
index fe4a60a30..81c026b15 100644
--- a/src/zencore/include/zencore/compactbinarypackage.h
+++ b/src/zencore/include/zencore/compactbinarypackage.h
@@ -64,6 +64,9 @@ public:
ZENCORE_API CbAttachment(const CompressedBuffer& InValue, const IoHash& Hash);
ZENCORE_API CbAttachment(CompressedBuffer&& InValue, const IoHash& Hash);
+ ZENCORE_API explicit CbAttachment(CompositeBuffer&& InValue);
+ ZENCORE_API CbAttachment(CompositeBuffer&& InValue, const IoHash& Hash);
+
/** Reset this to a null attachment. */
inline void Reset() { *this = CbAttachment(); }
@@ -129,8 +132,6 @@ public:
private:
ZENCORE_API CbAttachment(const CbObject& Value, const IoHash* Hash);
- ZENCORE_API explicit CbAttachment(CompositeBuffer&& InValue);
- ZENCORE_API CbAttachment(CompositeBuffer&& InValue, const IoHash& Hash);
IoHash Hash;
std::variant<std::nullptr_t, CbObject, CompositeBuffer, CompressedBuffer> Value;