mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-03 23:45:27 +00:00
[#1139] Added function to erase class
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
// Copyright (C) 2014-2017 Internet Systems Consortium, Inc. ("ISC")
|
||||
// Copyright (C) 2014-2020 Internet Systems Consortium, Inc. ("ISC")
|
||||
//
|
||||
// This Source Code Form is subject to the terms of the Mozilla Public
|
||||
// License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
@@ -64,6 +64,11 @@ namespace dhcp {
|
||||
set_.insert(class_name);
|
||||
}
|
||||
|
||||
/// @brief Erase element by name.
|
||||
///
|
||||
/// @param class_name The name of the class to erase.
|
||||
void erase(const ClientClass& class_name);
|
||||
|
||||
/// @brief Check if classes is empty.
|
||||
bool empty() const {
|
||||
return (list_.empty());
|
||||
|
Reference in New Issue
Block a user