]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] Added missing virtual destructor to Lease class
authorJelte Jansen <jelte@isc.org>
Mon, 14 Jan 2013 15:12:44 +0000 (16:12 +0100)
committerJelte Jansen <jelte@isc.org>
Mon, 14 Jan 2013 15:12:44 +0000 (16:12 +0100)
src/lib/dhcpsrv/lease_mgr.h

index 0e845abc69b55a991c30eae2f7efe1b1ec5dc201..913a70741c7ebab13bf7bff1428505579a5c2216 100644 (file)
@@ -117,6 +117,8 @@ struct Lease {
     Lease(const isc::asiolink::IOAddress& addr, uint32_t t1, uint32_t t2,
           uint32_t valid_lft, SubnetID subnet_id, time_t cltt);
 
+    virtual ~Lease() {};
+
     /// @brief IPv4 ot IPv6 address
     ///
     /// IPv4, IPv6 address or, in the case of a prefix delegation, the prefix.