Bugfix to the changes introduced in #4966 in DataWriterImpl.cpp.
Contributor Checklist
[x] Commit messages follow the project guidelines.
[x] The code follows the style guidelines of this project.
NO Tests that thoroughly check the new feature have been added/Regression tests checking the bug and its fix have been added; the added tests pass locally
NO Any new/modified methods have been properly documented using Doxygen.
NO Any new configuration API has an equivalent XML API (with the corresponding XSD extension)
❌ Changes are backport compatible: they do NOT break ABI nor change library core behavior.
❌ Changes are API compatible.
NO New feature has been added to the versions.md file (if applicable).
NO New feature has been documented/Current behavior is correctly described in the documentation.
NO Applicable backports have been included in the description.
Reviewer Checklist
[x] The PR has a milestone assigned.
[x] The title and description correctly express the PR's purpose.
[x] Check contributor checklist is correct.
N/A If this is a critical bug fix, backports to the critical-only supported branches have been requested.
[x] Check CI results: changes do not issue any warning.
[x] Check CI results: failing tests are unrelated with the changes.
Description
Bugfix to the changes introduced in #4966 in
DataWriterImpl.cpp
.Contributor Checklist
versions.md
file (if applicable).Reviewer Checklist