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 efc83a4 commit 4e76d67Copy full SHA for 4e76d67
1 file changed
ddspipe_core/src/cpp/communication/rpc/RpcBridge.cpp
@@ -297,9 +297,6 @@ void RpcBridge::transmit_(
297
std::unique_ptr<IRoutingData> data;
298
utils::ReturnCode ret = reader->take(data);
299
300
- RpcPayloadData& rpc_data = dynamic_cast<RpcPayloadData&>(*data);
301
-
302
303
// Will never return \c NO_DATA, otherwise would have finished before
304
if (ret != utils::ReturnCode::RETCODE_OK)
305
{
@@ -311,6 +308,8 @@ void RpcBridge::transmit_(
311
308
continue;
312
309
}
313
310
+ RpcPayloadData& rpc_data = dynamic_cast<RpcPayloadData&>(*data);
+
314
if (RpcTopic::is_request_topic(reader->topic()))
315
316
logDebug(DDSPIPE_RPCBRIDGE,
0 commit comments