2
0
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:
Francis Dupont
2016-12-29 00:18:24 +01:00
parent d67502ad2d
commit b91a7215ae
2 changed files with 2 additions and 2 deletions

View File

@@ -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);