From 3bfb369bb06126f0ddd3d5e4981d3afc68afeec6 Mon Sep 17 00:00:00 2001 From: LinZhihao-723 Date: Sun, 29 Sep 2024 23:30:19 -0400 Subject: [PATCH] Fix deserializer --- components/core/src/clp/ffi/ir_stream/Deserializer.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/core/src/clp/ffi/ir_stream/Deserializer.hpp b/components/core/src/clp/ffi/ir_stream/Deserializer.hpp index 7b2ca3dc0..0fb7e8c83 100644 --- a/components/core/src/clp/ffi/ir_stream/Deserializer.hpp +++ b/components/core/src/clp/ffi/ir_stream/Deserializer.hpp @@ -55,8 +55,8 @@ class Deserializer { * - std::errc::protocol_error if the IR stream is corrupted. * - std::errc::protocol_not_supported if the IR stream contains an unsupported metadata format * or uses an unsupported version. - * - Same as `KeyValuePairLogEvent::create` if the intermediate deserialized result cannot - * construct a valid key-value pair log event. + * - Forwards `KeyValuePairLogEvent::create`'s return values if the intermediate deserialized + * result cannot construct a valid key-value pair log event. */ [[nodiscard]] auto deserialize_to_next_log_event(ReaderInterface& reader ) -> OUTCOME_V2_NAMESPACE::std_result;