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 6d7bbbbCopy full SHA for 6d7bbbb
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
{
@@ -306,8 +309,6 @@ void RpcBridge::transmit_(
306
309
<< ". Skipping data and continue.");
307
310
continue;
308
311
}
-
- RpcPayloadData& rpc_data = dynamic_cast<RpcPayloadData&>(*data);
312
313
if (RpcTopic::is_request_topic(reader->topic()))
314
0 commit comments