2
0
mirror of https://gitlab.isc.org/isc-projects/kea synced 2025-08-31 05:55:28 +00:00

[#2448] solve unused parameter warning

This commit is contained in:
Andrei Pavel
2022-07-06 13:10:38 +03:00
parent 50f0012844
commit 18c29f6875
4 changed files with 8 additions and 8 deletions

View File

@@ -1246,8 +1246,8 @@ public:
/// Lease::TYPE_V4.
///
/// @return number of leases
virtual size_t getClassLeaseCount(const ClientClass& client_class,
const Lease::Type& ltype = Lease::TYPE_V4) const override;
size_t getClassLeaseCount(const ClientClass& client_class,
const Lease::Type& ltype = Lease::TYPE_V4) const override;
/// @brief Recount the leases per class for V4 leases.
///

View File

@@ -985,8 +985,8 @@ private:
/// Lease::TYPE_V4.
///
/// @return number of leases
virtual size_t getClassLeaseCount(const ClientClass& client_class,
const Lease::Type& ltype = Lease::TYPE_V4) const override;
size_t getClassLeaseCount(const ClientClass& client_class,
const Lease::Type& ltype = Lease::TYPE_V4) const override;
/// @brief Recount the leases per class for V4 leases.
void recountClassLeases4() override;

View File

@@ -959,8 +959,8 @@ private:
/// Lease::TYPE_V4.
///
/// @return number of leases
virtual size_t getClassLeaseCount(const ClientClass& client_class,
const Lease::Type& ltype = Lease::TYPE_V4) const override;
size_t getClassLeaseCount(const ClientClass& client_class,
const Lease::Type& ltype = Lease::TYPE_V4) const override;
/// @brief Recount the leases per class for V4 leases.
void recountClassLeases4() override;

View File

@@ -374,8 +374,8 @@ public:
/// Lease::TYPE_V4.
///
/// @return number of leases
virtual size_t getClassLeaseCount(const ClientClass& client_class,
const Lease::Type& ltype = Lease::TYPE_V4) const override {
size_t getClassLeaseCount(const ClientClass& /* client_class */,
const Lease::Type& /* ltype = Lease::TYPE_V4 */) const override {
isc_throw(NotImplemented, "ConcreteLeaseMgr::getClassLeaseCount() not implemented");
}