Browse Source

[master] Tentative merge fix (2)

Francis Dupont 7 years ago
parent
commit
e58431da28
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/lib/dhcpsrv/parsers/option_data_parser.h

+ 2 - 2
src/lib/dhcpsrv/parsers/option_data_parser.h

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