From d35f9469120c2eb4062fb19050ebd2e0d5e7b0f8 Mon Sep 17 00:00:00 2001 From: Mauro Sardara Date: Thu, 21 Mar 2019 11:01:39 +0100 Subject: [HICN-135] Fix setLifetime function. Change-Id: Ic0423407082e0909584a793f266e5b5fb4fc71b4 Signed-off-by: Mauro Sardara --- libtransport/src/hicn/transport/core/packet.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libtransport/src/hicn/transport/core/packet.h') diff --git a/libtransport/src/hicn/transport/core/packet.h b/libtransport/src/hicn/transport/core/packet.h index 16191dd7f..88d9f9318 100644 --- a/libtransport/src/hicn/transport/core/packet.h +++ b/libtransport/src/hicn/transport/core/packet.h @@ -109,9 +109,9 @@ class Packet : public std::enable_shared_from_this { virtual void setName(Name &&name) = 0; - virtual void setLifetime(uint32_t lifetime); + virtual void setLifetime(uint32_t lifetime) = 0; - virtual uint32_t getLifetime() const; + virtual uint32_t getLifetime() const = 0; Packet &appendPayload(const uint8_t *buffer, std::size_t length); -- cgit 1.2.3-korg