From 5942e4dd39d957c2403623b0e5a058d2fbef6fcb Mon Sep 17 00:00:00 2001 From: Lin Zhihao <59785146+LinZhihao-723@users.noreply.github.com> Date: Fri, 24 Jan 2025 01:18:05 -0500 Subject: [PATCH] Update components/core/src/clp/ffi/ir_stream/Serializer.hpp Co-authored-by: kirkrodrigues <2454684+kirkrodrigues@users.noreply.github.com> --- components/core/src/clp/ffi/ir_stream/Serializer.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/components/core/src/clp/ffi/ir_stream/Serializer.hpp b/components/core/src/clp/ffi/ir_stream/Serializer.hpp index 8fc40a77c..3f4bc2f1b 100644 --- a/components/core/src/clp/ffi/ir_stream/Serializer.hpp +++ b/components/core/src/clp/ffi/ir_stream/Serializer.hpp @@ -44,7 +44,7 @@ class Serializer { * @param optional_user_defined_metadata Stream-level user-defined metadata, given as a JSON * object. * @return A result containing the serializer or an error code indicating the failure: - * - std::errc::protocol_error if failed to serialize the preamble. + * - std::errc::protocol_error if the stream's metadata couldn't be serialized. * - std::errc::protocol_not_supported if the given user-defined metadata is not a JSON object. */ [[nodiscard]] static auto create(