Skip to content

Commit

Permalink
Refs #20160: Removed suggestion for answer_request results.
Browse files Browse the repository at this point in the history
Signed-off-by: adriancampo <adriancampo@eprosima.com>
  • Loading branch information
adriancampo committed Mar 7, 2024
1 parent 31c5988 commit 61f9e6d
Showing 1 changed file with 6 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -373,7 +373,9 @@ void TypeLookupRequestListener::answer_request(
TypeLookup_getTypeDependencies_Out& out)
{
TypeLookup_Reply* reply = static_cast<TypeLookup_Reply*>(typelookup_manager_->reply_type_.createData());
reply->return_value().getTypeDependencies().result(out);
TypeLookup_getTypeDependencies_Result result;
result.result(out);
reply->return_value().getTypeDependencies(result);
reply->header().relatedRequestId(request_id);
reply->header().remoteEx(exception_code);

Expand All @@ -387,7 +389,9 @@ void TypeLookupRequestListener::answer_request(
TypeLookup_getTypes_Out& out)
{
TypeLookup_Reply* reply = static_cast<TypeLookup_Reply*>(typelookup_manager_->reply_type_.createData());
reply->return_value().getType().result(out);
TypeLookup_getTypes_Result result;
result.result(out);
reply->return_value().getType(result);
reply->header().relatedRequestId(request_id);
reply->header().remoteEx(exception_code);

Expand Down

0 comments on commit 61f9e6d

Please sign in to comment.