mirror of
https://gitlab.isc.org/isc-projects/kea
synced 2025-09-02 06:55:16 +00:00
[5021] Added boost:: for const_pointer_cast
This commit is contained in:
@@ -566,7 +566,7 @@ configureDhcp4Server(Dhcpv4Srv&, isc::data::ConstElementPtr config_set) {
|
||||
// This is a way to convert ConstElementPtr to ElementPtr.
|
||||
// We need a config that can be edited, because we will insert
|
||||
// default values and will insert derived values as well.
|
||||
ElementPtr mutable_cfg = const_pointer_cast<Element>(config_set);
|
||||
ElementPtr mutable_cfg = boost::const_pointer_cast<Element>(config_set);
|
||||
|
||||
// Set all default values if not specified by the user.
|
||||
SimpleParser4::setAllDefaults(mutable_cfg);
|
||||
|
Reference in New Issue
Block a user