]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] Fix building issue with gcc.
authorMarcin Siodelski <marcin@isc.org>
Mon, 12 Aug 2019 17:43:42 +0000 (19:43 +0200)
committerMarcin Siodelski <marcin@isc.org>
Mon, 12 Aug 2019 17:44:16 +0000 (19:44 +0200)
Removed consts in the templates passed to the CB pool.

src/lib/dhcpsrv/config_backend_pool_dhcp6.cc

index 6cb6c74e2e2a0f093d4aee222adaae4a9c2561ed..d36afbd1c7a27345d0c68918875d1fcfcecc054b 100644 (file)
@@ -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<void, const IOAddress&, const uint8_t,
+    createUpdateDeleteProperty<void, const IOAddress&, uint8_t,
                                const OptionDescriptorPtr&>
         (&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<uint64_t, const IOAddress&, const uint8_t,
+    return (createUpdateDeleteProperty<uint64_t, const IOAddress&, uint8_t,
                                        uint16_t, const std::string&>
             (&ConfigBackendDHCPv6::deleteOption6, backend_selector, server_selector,
              pd_pool_prefix, pd_pool_prefix_length, code, space));