Commented "id" parameter from transport_dbg() to avoid compilation warnings.
Currently we extract the socket ID information by decoding the address (decodedAddress.channel is the socket ID that we use).
This commit is contained in:
@@ -135,7 +135,7 @@ private:
|
||||
return TLM_ACCEPTED;
|
||||
}
|
||||
|
||||
virtual unsigned int transport_dbg(int id, tlm::tlm_generic_payload &trans)
|
||||
virtual unsigned int transport_dbg(int /*id*/, tlm::tlm_generic_payload &trans)
|
||||
{
|
||||
DecodedAddress decodedAddress = xmlAddressDecoder::getInstance().decodeAddress(trans.get_address());
|
||||
return iSocket[decodedAddress.channel]->transport_dbg(trans);
|
||||
|
||||
Reference in New Issue
Block a user