Skip to content

Commit

Permalink
#268: Add validate parameter to all constructors in Unpacker
Browse files Browse the repository at this point in the history
  • Loading branch information
thearusable committed Jul 24, 2024
1 parent b1df9b0 commit 965d678
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/checkpoint/serializers/unpacker.impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,8 @@ template <typename BufferT>
template <typename... Args>
UnpackerBuffer<BufferT>::UnpackerBuffer(Args&&... args)
: MemorySerializer(ModeType::Unpacking),
buffer_(std::make_unique<BufferT>(std::forward<Args>(args)...))
buffer_(std::make_unique<BufferT>(std::forward<Args>(args)...)),
validate_memory_(true)
{
MemorySerializer::initializeBuffer(buffer_->getBuffer());

Expand Down

0 comments on commit 965d678

Please sign in to comment.