Skip to content

Commit 24c86f5

Browse files
authored
Resolve build error with RTI Connext DDS 5.3.1 (#82)
Signed-off-by: Andrea Sorbini <[email protected]>
1 parent 7a6519b commit 24c86f5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rmw_connextdds_common/src/ndds/custom_sql_filter.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -541,7 +541,7 @@ RTI_CustomSqlFilter_writer_evaluate(
541541
reinterpret_cast<char *>(
542542
const_cast<uint8_t *>(serialized_sample)),
543543
serialized_size);
544-
if (!RTICdrStream_deserializeCdrEncapsulationAndSetDefault(&cdr_stream)) {
544+
if (!RTICdrStream_deserializeCdrEncapsulationAndSetDefault((&cdr_stream))) {
545545
RMW_CONNEXT_LOG_ERROR("failed to deserialize and set CDR encapsulation")
546546
return nullptr;
547547
}
@@ -714,7 +714,7 @@ RTI_CustomSqlFilter_evaluate(
714714
&cdr_stream,
715715
reinterpret_cast<char *>(msg->data_buffer.buffer),
716716
msg->data_buffer.buffer_length);
717-
if (!RTICdrStream_deserializeCdrEncapsulationAndSetDefault(&cdr_stream)) {
717+
if (!RTICdrStream_deserializeCdrEncapsulationAndSetDefault((&cdr_stream))) {
718718
RMW_CONNEXT_LOG_ERROR("failed to deserialize and set CDR encapsulation")
719719
return DDS_BOOLEAN_FALSE;
720720
}

0 commit comments

Comments
 (0)