1
0
mirror of https://github.com/mfontanini/libtins synced 2026-01-29 13:04:28 +01:00

Fixed compilation error in pdu_cacher.h.

This commit is contained in:
Matias Fontanini
2013-03-25 09:55:15 -03:00
parent 8be0c4c23c
commit b0dc376494

View File

@@ -130,11 +130,9 @@ public:
/**
* Forwards the call to the cached PDU. \sa PDU::clone_packet.
*/
TINS_DEPRECATED(
PDU *clone_packet(const uint8_t *ptr, uint32_t total_sz) {
return 0;
}
)
TINS_DEPRECATED(PDU *clone_packet(const uint8_t *ptr, uint32_t total_sz)) {
return 0;
}
private:
void write_serialization(uint8_t *buffer, uint32_t total_sz, const PDU *parent) {
if(cached_serialization.size() != total_sz) {