aboutsummaryrefslogtreecommitdiff
path: root/src/zencore/compactbinarypackage.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/zencore/compactbinarypackage.cpp')
-rw-r--r--src/zencore/compactbinarypackage.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/zencore/compactbinarypackage.cpp b/src/zencore/compactbinarypackage.cpp
index 4d4e0951e..0117b326e 100644
--- a/src/zencore/compactbinarypackage.cpp
+++ b/src/zencore/compactbinarypackage.cpp
@@ -261,7 +261,7 @@ CbAttachment::GetHash() const
return Hash;
}
-CompositeBuffer
+const CompositeBuffer&
CbAttachment::AsCompositeBinary() const
{
if (const CompositeBuffer* BinValue = std::get_if<CompositeBuffer>(&Value))
@@ -283,7 +283,7 @@ CbAttachment::AsBinary() const
return {};
}
-CompressedBuffer
+const CompressedBuffer&
CbAttachment::AsCompressedBinary() const
{
if (const CompressedBuffer* CompValue = std::get_if<CompressedBuffer>(&Value))