From: Marcin Siodelski Date: Mon, 12 Aug 2019 17:43:42 +0000 (+0200) Subject: [master] Fix building issue with gcc. X-Git-Tag: Kea-1.6.0~41^2~122 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ef929284ce676aec288b616595c813e4d2464de9;p=thirdparty%2Fkea.git [master] Fix building issue with gcc. Removed consts in the templates passed to the CB pool. --- diff --git a/src/lib/dhcpsrv/config_backend_pool_dhcp6.cc b/src/lib/dhcpsrv/config_backend_pool_dhcp6.cc index 6cb6c74e2e..d36afbd1c7 100644 --- a/src/lib/dhcpsrv/config_backend_pool_dhcp6.cc +++ b/src/lib/dhcpsrv/config_backend_pool_dhcp6.cc @@ -305,7 +305,7 @@ ConfigBackendPoolDHCPv6::createUpdateOption6(const BackendSelector& backend_sele const asiolink::IOAddress& pd_pool_prefix, const uint8_t pd_pool_prefix_length, const OptionDescriptorPtr& option) { - createUpdateDeleteProperty (&ConfigBackendDHCPv6::createUpdateOption6, backend_selector, server_selector, pd_pool_prefix, pd_pool_prefix_length, option); @@ -448,7 +448,7 @@ ConfigBackendPoolDHCPv6::deleteOption6(const BackendSelector& backend_selector, const uint8_t pd_pool_prefix_length, const uint16_t code, const std::string& space) { - return (createUpdateDeleteProperty (&ConfigBackendDHCPv6::deleteOption6, backend_selector, server_selector, pd_pool_prefix, pd_pool_prefix_length, code, space));