mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-01 14:35:29 +00:00
[5682] addLease() parameter is const again
This commit is contained in:
@@ -74,7 +74,7 @@ public:
|
||||
///
|
||||
/// @throw isc::dhcp::DbOperationError An operation on the open database has
|
||||
/// failed.
|
||||
virtual bool addLease(Lease4Ptr& lease);
|
||||
virtual bool addLease(const Lease4Ptr& lease);
|
||||
|
||||
/// @brief Adds an IPv6 lease
|
||||
///
|
||||
@@ -85,7 +85,7 @@ public:
|
||||
///
|
||||
/// @throw isc::dhcp::DbOperationError An operation on the open database has
|
||||
/// failed.
|
||||
virtual bool addLease(Lease6Ptr& lease);
|
||||
virtual bool addLease(const Lease6Ptr& lease);
|
||||
|
||||
/// @brief Returns an IPv4 lease for specified IPv4 address
|
||||
///
|
||||
|
Reference in New Issue
Block a user