rlc_am_lte: make func param const&

master
Andre Puschmann 4 years ago
parent fcba67ca84
commit 3102861ee3

@ -392,7 +392,7 @@ private:
void debug_state();
int required_buffer_size(rlc_amd_retx_t retx);
int required_buffer_size(const rlc_amd_retx_t& retx);
void retransmit_pdu(uint32_t sn);
// Helpers

@ -1316,7 +1316,7 @@ void rlc_am_lte::rlc_am_lte_tx::debug_state()
logger.debug("%s vt_a = %d, vt_ms = %d, vt_s = %d, poll_sn = %d", RB_NAME, vt_a, vt_ms, vt_s, poll_sn);
}
int rlc_am_lte::rlc_am_lte_tx::required_buffer_size(rlc_amd_retx_t retx)
int rlc_am_lte::rlc_am_lte_tx::required_buffer_size(const rlc_amd_retx_t& retx)
{
if (!retx.is_segment) {
if (tx_window.has_sn(retx.sn)) {

Loading…
Cancel
Save