Browse Source

[5134_rebase] Comment about lack of deep copy added.

Tomek Mrugalski 8 years ago
parent
commit
5ed26cc0b3
1 changed files with 3 additions and 0 deletions
  1. 3 0
      src/bin/agent/ctrl_agent_cfg_mgr.h

+ 3 - 0
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)));