Parcourir la source

[2318] Minor: options accessor in Subnet made const.

Marcin Siodelski il y a 12 ans
Parent
commit
cb8128c933
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      src/lib/dhcp/subnet.h

+ 1 - 1
src/lib/dhcp/subnet.h

@@ -229,7 +229,7 @@ public:
     /// @return reference to collection of options configured for a subnet.
     /// The returned reference is valid as long as the Subnet object which
     /// returned it still exists.
-    const OptionContainer& getOptions() {
+    const OptionContainer& getOptions() const {
         return (options_);
     }