From: Marcin Siodelski Date: Fri, 11 Jan 2019 18:43:48 +0000 (+0100) Subject: [#99,!197] Added a warning as a result of review. X-Git-Tag: 100-implement-test-config-backend-dhcp6_base~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=71c92cab5775b8fb2151833aa971d998391e34a3;p=thirdparty%2Fkea.git [#99,!197] Added a warning as a result of review. --- diff --git a/src/lib/dhcpsrv/cfg_subnets4.h b/src/lib/dhcpsrv/cfg_subnets4.h index 0d35e31b06..de15add4c1 100644 --- a/src/lib/dhcpsrv/cfg_subnets4.h +++ b/src/lib/dhcpsrv/cfg_subnets4.h @@ -80,6 +80,12 @@ public: /// will hold the instance of the new subnet with the shared network /// it originally belonged to. /// + /// @warning The merge operation affects the @c other configuration. + /// Therefore, the caller must not rely on the data held in the @c other + /// object after the call to @c merge. Also, the data held in @c other must + /// not be modified after the call to @c merge because it may affect the + /// merged configuration. + /// /// @param other the subnet configuration to be merged into this /// configuration. void merge(const CfgSubnets4& other);