remove uneeded assert condition. change pdcp log when notified pdcp pdu doesnt exist to info.

master
Francisco 4 years ago committed by Francisco Paisana
parent 09272edf4b
commit 63913ff2b2

@ -533,10 +533,11 @@ public:
std::swap(base_t::buffer, other.buffer);
}
void set_size(size_t size)
void set_size(size_t sz)
{
srsran_assert(base_t::empty(), "Dynamic resizes not supported when circular buffer is not empty");
base_t::buffer.resize(size);
srsran_assert(base_t::empty() or sz == base_t::size(),
"Dynamic resizes not supported when circular buffer is not empty");
base_t::buffer.resize(sz);
}
};

Loading…
Cancel
Save