Parcourir la source

[4097a] Added (non-)const comment

Francis Dupont il y a 9 ans
Parent
commit
c6bced0e1c
1 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 2 2
      src/bin/dhcp4/dhcp4_srv.h

+ 2 - 2
src/bin/dhcp4/dhcp4_srv.h

@@ -111,12 +111,12 @@ public:
         return (context_);
         return (context_);
     }
     }
 
 
-    /// @brief Returns the configured option list
+    /// @brief Returns the configured option list (non-const version)
     CfgOptionList& getCfgOptionList() {
     CfgOptionList& getCfgOptionList() {
         return (cfg_option_list_);
         return (cfg_option_list_);
     }
     }
 
 
-    /// @brief Returns the configured option list
+    /// @brief Returns the configured option list (const version)
     const CfgOptionList& getCfgOptionList() const {
     const CfgOptionList& getCfgOptionList() const {
         return (cfg_option_list_);
         return (cfg_option_list_);
     }
     }