]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[2318] Minor: options accessor in Subnet made const.
authorMarcin Siodelski <marcin@isc.org>
Wed, 31 Oct 2012 08:37:36 +0000 (09:37 +0100)
committerMarcin Siodelski <marcin@isc.org>
Wed, 31 Oct 2012 08:37:36 +0000 (09:37 +0100)
src/lib/dhcp/subnet.h

index 514f422099cd23a092e356c4e4753436e8eaf37a..9e80a0df0c102c08b686a5cdd933f9784a91cdad 100644 (file)
@@ -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_);
     }