Skip to content

Commit

Permalink
Add Junhao's clear_ir_buf fix.
Browse files Browse the repository at this point in the history
  • Loading branch information
davidlion committed Oct 31, 2024
1 parent 6280ed5 commit 55e28ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cpp/src/ffi_go/ir/serializer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ auto serialize_log_event(void* ir_serializer, ByteSpan msgpack_bytes, ByteSpan*
}
auto* serializer{static_cast<clp::ffi::ir_stream::Serializer<encoded_variable_t>*>(ir_serializer
)};
serializer->clear_ir_buf();

auto const mp_handle{
msgpack::unpack(static_cast<char const*>(msgpack_bytes.m_data), msgpack_bytes.m_size)
Expand Down

0 comments on commit 55e28ac

Please sign in to comment.