2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-30 21:45:37 +00:00

[5682] Removed const from addLease for other lease backends.

This commit is contained in:
Tomek Mrugalski
2018-07-26 00:33:14 +02:00
parent 4a42a26af8
commit e550a2fa6b
8 changed files with 14 additions and 38 deletions

View File

@@ -1699,7 +1699,7 @@ MySqlLeaseMgr::addLeaseCommon(StatementIndex stindex,
}
bool
MySqlLeaseMgr::addLease(const Lease4Ptr& lease) {
MySqlLeaseMgr::addLease(Lease4Ptr& lease) {
LOG_DEBUG(dhcpsrv_logger, DHCPSRV_DBG_TRACE_DETAIL,
DHCPSRV_MYSQL_ADD_ADDR4).arg(lease->addr_.toText());
@@ -1711,7 +1711,7 @@ MySqlLeaseMgr::addLease(const Lease4Ptr& lease) {
}
bool
MySqlLeaseMgr::addLease(const Lease6Ptr& lease) {
MySqlLeaseMgr::addLease(Lease6Ptr& lease) {
LOG_DEBUG(dhcpsrv_logger, DHCPSRV_DBG_TRACE_DETAIL,
DHCPSRV_MYSQL_ADD_ADDR6).arg(lease->addr_.toText())
.arg(lease->type_);