Skip to content

Commit

Permalink
Revert space variable change.
Browse files Browse the repository at this point in the history
  • Loading branch information
allenh1 committed Aug 31, 2017
1 parent cb88ff3 commit 8c7d1a1
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@ void TypeSupport<MembersType>::deleteData(void * data)
assert(data);
delete static_cast<eprosima::fastcdr::FastBuffer *>(data);
}

gg
static inline void *
align_(size_t __align, size_t __size, void * & __ptr, size_t & __space) noexcept
{
Expand Down Expand Up @@ -424,7 +424,7 @@ bool TypeSupport<MembersType>::serializeROSmessage(
size_t array_size = 0;
size_t sub_members_size = sub_members->size_of_;
size_t max_align = calculateMaxAlign(sub_members);
size_t space = 1; /* start with 1 byte */
size_t space = 100;

if (member->array_size_ && !member->is_upper_bound_) {
subros_message = field;
Expand Down

0 comments on commit 8c7d1a1

Please sign in to comment.