2
0
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:
Tomek Mrugalski
2018-07-30 16:32:01 +02:00
parent 41218520cf
commit e29aab3c38
10 changed files with 20 additions and 20 deletions

View File

@@ -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
///