Fixed error it RTPSWriter new change
Fixed error it RTPSWriter new change


Former-commit-id: 734d2774ec2446a7b9588e27f3f28ac8747f8841
eProsima/Fast-RTPS,eProsima/Fast-DDS,eProsima/Fast-RTPS,eProsima/Fast-RTPS,eProsima/Fast-DDS,eProsima/Fast-DDS,eProsima/Fast-DDS,eProsima/Fast-DDS,eProsima/Fast-RTPS,eProsima/Fast-RTPS