We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ece5682 commit 5733e4bCopy full SHA for 5733e4b
1 file changed
ddspipe_core/src/cpp/communication/rpc/RpcBridge.cpp
@@ -296,6 +296,9 @@ void RpcBridge::transmit_(
296
std::unique_ptr<IRoutingData> data;
297
utils::ReturnCode ret = reader->take(data);
298
299
+ RpcPayloadData& rpc_data = dynamic_cast<RpcPayloadData&>(*data);
300
+
301
302
// Will never return \c RETCODE_NO_DATA, otherwise would have finished before
303
if (!ret)
304
{
@@ -307,8 +310,6 @@ void RpcBridge::transmit_(
307
310
continue;
308
311
}
309
312
- RpcPayloadData& rpc_data = dynamic_cast<RpcPayloadData&>(*data);
-
313
if (RpcTopic::is_request_topic(reader->topic()))
314
315
logDebug(DDSPIPE_RPCBRIDGE,
0 commit comments