Correct the coding style to pass CI test.
Signed-off-by: evshary <evshary@gmail.com>
This commit is contained in:
parent
d2a22d3f59
commit
275d3dd42a
2 changed files with 8 additions and 6 deletions
|
@ -2748,7 +2748,8 @@ static bool demangle_topic_type(
|
||||||
std::string & demangled_type_name)
|
std::string & demangled_type_name)
|
||||||
{
|
{
|
||||||
bool is_def_kind = topic_kind == topic_kind::DEFAULT;
|
bool is_def_kind = topic_kind == topic_kind::DEFAULT;
|
||||||
const auto re_typ = std::regex("^(.*::)dds_::(.*)_" +
|
const auto re_typ = std::regex(
|
||||||
|
"^(.*::)dds_::(.*)_" +
|
||||||
(is_def_kind ? std::string() : std::string("(Response|Request)_")) +
|
(is_def_kind ? std::string() : std::string("(Response|Request)_")) +
|
||||||
std::string("$"),
|
std::string("$"),
|
||||||
std::regex::extended);
|
std::regex::extended);
|
||||||
|
|
|
@ -453,7 +453,8 @@ bool sertopic_rmw_equal(
|
||||||
if (a->is_request_header != b->is_request_header) {
|
if (a->is_request_header != b->is_request_header) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
if (strcmp(a->type_support.typesupport_identifier_,
|
if (strcmp(
|
||||||
|
a->type_support.typesupport_identifier_,
|
||||||
b->type_support.typesupport_identifier_) != 0)
|
b->type_support.typesupport_identifier_) != 0)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue