Skip to content

Commit 22ac35f

Browse files
committed
Be consistent with INPLACE usage.
1 parent 4f748f8 commit 22ac35f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/chain/operation.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -236,7 +236,7 @@ void operation::assign_data(reader& source) NOEXCEPT
236236
source.set_position(start);
237237

238238
// An invalid source.read_bytes_raw returns nullptr.
239-
data_.reset(POINTER(data_chunk, allocator, source.read_bytes_raw()));
239+
INPLACE(&data_, data_chunk, allocator, source.read_bytes_raw());
240240
}
241241

242242
// All byte vectors are deserializable, stream indicates own failure.

0 commit comments

Comments
 (0)