From: Tomek Mrugalski Date: Thu, 2 Mar 2017 09:12:54 +0000 (+0100) Subject: [5134_rebase] Comment about lack of deep copy added. X-Git-Tag: trac5137_base~3^2 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=5ed26cc0b3b58968db69cea9625acb6ab6ae4725;p=thirdparty%2Fkea.git [5134_rebase] Comment about lack of deep copy added. --- diff --git a/src/bin/agent/ctrl_agent_cfg_mgr.h b/src/bin/agent/ctrl_agent_cfg_mgr.h index 8424478a65..7dc795fbbb 100644 --- a/src/bin/agent/ctrl_agent_cfg_mgr.h +++ b/src/bin/agent/ctrl_agent_cfg_mgr.h @@ -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)));