diff --git a/rmw_fastrtps_dynamic_cpp/include/rmw_fastrtps_dynamic_cpp/TypeSupport_impl.hpp b/rmw_fastrtps_dynamic_cpp/include/rmw_fastrtps_dynamic_cpp/TypeSupport_impl.hpp index 0d9704f43..d9c475617 100644 --- a/rmw_fastrtps_dynamic_cpp/include/rmw_fastrtps_dynamic_cpp/TypeSupport_impl.hpp +++ b/rmw_fastrtps_dynamic_cpp/include/rmw_fastrtps_dynamic_cpp/TypeSupport_impl.hpp @@ -830,7 +830,7 @@ size_t TypeSupport::calculateMaxSerializedSize( size_t array_size = 1; if (member->is_array_) { array_size = member->array_size_; - + // Whether it is unbounded. if (0 == array_size) { this->max_size_bound_ = false;