Commit 5ed26cc0 authored by Tomek Mrugalski's avatar Tomek Mrugalski 🛰

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

parent 573635ae
......@@ -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)));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment