Skip to content

Commit

Permalink
iox-eclipse-iceoryx#2185 Fix Windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
elBoberido committed Feb 16, 2024
1 parent f024b06 commit 34d0211
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion iceoryx_posh/include/iceoryx_posh/iceoryx_posh_types.inl
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ ResourcePrefix_t iceoryxResourcePrefix(uint16_t uniqueRouDiID, ResourceType reso
iox::string<MAX_UINT16_WIDTH> uniqueRoudiIdString{TruncateToCapacity,
iox::convert::toString(uniqueRouDiID).c_str()};

iox::string<1> resourceTypeString{resourceType == ResourceType::ICEORYX_DEFINED ? "i" : "u"};
auto resourceTypeString{resourceType == ResourceType::ICEORYX_DEFINED ? iox::string<1>{"i"} : iox::string<1>{"u"}};
return concatenate(ICEORYX_RESOURCE_PREFIX, "_", uniqueRoudiIdString, "_", resourceTypeString, "_");
}

Expand Down

0 comments on commit 34d0211

Please sign in to comment.