Skip to content

Commit 0a33c19

Browse files
committed
Fix backport issues
Signed-off-by: Emilio Cuesta <emiliocuesta@eprosima.com>
1 parent 541c304 commit 0a33c19

File tree

2 files changed

+1
-21
lines changed

2 files changed

+1
-21
lines changed

src/cpp/rtps/builtin/discovery/endpoint/EDP.cpp

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -67,23 +67,6 @@ namespace rtps {
6767
using reader_map_helper = utilities::collections::map_size_helper<GUID_t, SubscriptionMatchedStatus>;
6868
using writer_map_helper = utilities::collections::map_size_helper<GUID_t, PublicationMatchedStatus>;
6969

70-
<<<<<<< HEAD
71-
static bool is_partition_empty(
72-
const fastdds::dds::Partition_t& partition)
73-
{
74-
return partition.size() <= 1 && 0 == strlen(partition.name());
75-
=======
76-
static bool is_same_type(
77-
const dds::xtypes::TypeInformation& t1,
78-
const dds::xtypes::TypeInformation& t2)
79-
{
80-
return (dds::xtypes::TK_NONE != t1.complete().typeid_with_size().type_id()._d()
81-
&& t1.complete().typeid_with_size() == t2.complete().typeid_with_size())
82-
|| (dds::xtypes::TK_NONE != t1.minimal().typeid_with_size().type_id()._d()
83-
&& t1.minimal().typeid_with_size() == t2.minimal().typeid_with_size());
84-
>>>>>>> 27ce90d9 (Allow empty partition list to match against `"*"` (#5989))
85-
}
86-
8770
EDP::EDP(
8871
PDP* p,
8972
RTPSParticipantImpl* part)

src/cpp/utils/StringMatching.cpp

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -104,9 +104,6 @@ static bool do_match_pattern(
104104

105105
#endif // if defined(__cplusplus_winrt)
106106

107-
<<<<<<< HEAD
108-
} // namespace rtps
109-
=======
110107
bool StringMatching::matchPattern(
111108
const char* pattern,
112109
const char* str)
@@ -121,6 +118,6 @@ bool StringMatching::matchString(
121118
return do_match_pattern(str1, str2) || do_match_pattern(str2, str1);
122119
}
123120

124-
>>>>>>> 27ce90d9 (Allow empty partition list to match against `"*"` (#5989))
125121
} /* namespace rtps */
122+
} /* namespace fastrtps */
126123
} /* namespace eprosima */

0 commit comments

Comments
 (0)