Skip to content

Does Cdr::serialize_bool_array() need to assign a value to the serialized_member_size_ variable? #330

Description

@jjyathefei-gmail

serialized_member_size_ = SERIALIZED_MEMBER_SIZE;

Unlike Cdr::serialize_bool_sequence(), Cdr::serialize_bool_array() does not call *this << static_cast<int32_t>(vector_t.size()) internally; therefore, it appears that assigning a value to serialized_member_size_ is unnecessary. Is this an error?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions