]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[5134_rebase] Comment about lack of deep copy added.
authorTomek Mrugalski <tomasz@isc.org>
Thu, 2 Mar 2017 09:12:54 +0000 (10:12 +0100)
committerTomek Mrugalski <tomasz@isc.org>
Thu, 2 Mar 2017 09:12:54 +0000 (10:12 +0100)
src/bin/agent/ctrl_agent_cfg_mgr.h

index 8424478a65f2ab32a2aada6c26c11c16332aa2da..7dc795fbbb80398656b935fe836d21d11a15c139 100644 (file)
@@ -44,6 +44,9 @@ public:
 
     /// @brief Creates a clone of this context object.
     ///
+    /// Note this method does not do deep copy the information about control sockets.
+    /// That data is stored as ConstElementPtr (a shared pointer) to the actual data.
+    ///
     /// @return A pointer to the new clone.
     virtual process::DCfgContextBasePtr clone() {
         return (process::DCfgContextBasePtr(new CtrlAgentCfgContext(*this)));