Skip to content

Commit

Permalink
Refs #20742: Please linter
Browse files Browse the repository at this point in the history
Signed-off-by: JesusPoderoso <[email protected]>
  • Loading branch information
JesusPoderoso committed May 7, 2024
1 parent 6a0a230 commit ed59867
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/cpp/fastdds/subscriber/DataReaderImpl.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1799,7 +1799,7 @@ std::shared_ptr<IPayloadPool> DataReaderImpl::get_payload_pool()
else
{
is_plain = type_->is_plain(DataRepresentationId_t::XCDR_DATA_REPRESENTATION)
&& type_->is_plain(DataRepresentationId_t::XCDR2_DATA_REPRESENTATION);
&& type_->is_plain(DataRepresentationId_t::XCDR2_DATA_REPRESENTATION);
}

// When the user requested PREALLOCATED_WITH_REALLOC, but we know the type cannot
Expand Down
1 change: 1 addition & 0 deletions test/unittest/dds/publisher/DataWriterTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2192,6 +2192,7 @@ class DataRepresentationTestsTypeSupport : public LoanableTypeSupport
{
return custom_is_plain();
}

};

TEST(DataWriterTests, data_type_is_plain_data_representation)
Expand Down
1 change: 1 addition & 0 deletions test/unittest/dds/subscriber/DataReaderTests.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3832,6 +3832,7 @@ class DataRepresentationTestsTypeSupport : public TopicDataType
{
return custom_is_plain();
}

};

TEST_F(DataReaderTests, data_type_is_plain_data_representation)
Expand Down

0 comments on commit ed59867

Please sign in to comment.