Skip to content

Commit

Permalink
Refs #21121: Revision - uncrustify
Browse files Browse the repository at this point in the history
Signed-off-by: cferreiragonz <[email protected]>
  • Loading branch information
cferreiragonz committed Jun 6, 2024
1 parent db03858 commit 8124363
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -403,7 +403,8 @@ struct ReadTakeCommand
bool is_valid = true;
if (has_ownership) //< On loans the user must check the validity anyways
{
DataSharingPayloadPool* pool = dynamic_cast<DataSharingPayloadPool*>(change->serializedPayload.payload_owner);
DataSharingPayloadPool* pool =
dynamic_cast<DataSharingPayloadPool*>(change->serializedPayload.payload_owner);
if (pool)
{
//Check if the payload is dirty
Expand Down
2 changes: 1 addition & 1 deletion test/blackbox/api/dds-pim/CustomPayloadPool.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ class CustomPayloadPool : public eprosima::fastrtps::rtps::IPayloadPool
payload.max_size = data.length;

// Tell the CacheChange who needs to release its payload
payload.payload_owner =this;
payload.payload_owner = this;

++requested_payload_count;

Expand Down

0 comments on commit 8124363

Please sign in to comment.