]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[master] Tentative merge fix (2)
authorFrancis Dupont <fdupont@isc.org>
Tue, 26 Sep 2017 09:19:00 +0000 (11:19 +0200)
committerFrancis Dupont <fdupont@isc.org>
Tue, 26 Sep 2017 09:19:00 +0000 (11:19 +0200)
src/lib/dhcpsrv/parsers/option_data_parser.h

index b9ebd88386fe95796cb906cad302a2b635ecabe1..06770dd219bd929bf137d2791501957a9cc4b845 100644 (file)
@@ -45,7 +45,7 @@ public:
     /// @param address_family Address family: @c AF_INET or @c AF_INET6.
     /// @param cfg_option_def Config option definitions (optional)
     OptionDataParser(const uint16_t address_family,
-                     CfgOptionDefPtr cfg_option_def = 0);
+                     CfgOptionDefPtr cfg_option_def = CfgOptionDefPtr());
 
     /// @brief Parses ElementPtr containing option definition
     ///
@@ -167,7 +167,7 @@ public:
     /// @param address_family Address family: @c AF_INET or AF_INET6
     /// @param cfg_option_def Config option definitions (optional)
     OptionDataListParser(const uint16_t address_family,
-                         CfgOptionDefPtr cfg_option_def = 0);
+                         CfgOptionDefPtr cfg_option_def = CfgOptionDefPtr());
 
     /// @brief Parses a list of options, instantiates them and stores in cfg
     ///