diff options
| author | Stinson Linden <stinson@lindenlab.com> | 2014-05-23 21:56:44 +0100 |
|---|---|---|
| committer | Stinson Linden <stinson@lindenlab.com> | 2014-05-23 21:56:44 +0100 |
| commit | 0160c514c5e0bc3e575b33ef27924a9c8c7c30cf (patch) | |
| tree | cd181ea27a9193911ed6f3904345af4871464bcc /indra/llappearance/llviewervisualparam.cpp | |
| parent | a13d2f7f706bc8d5a4ea103cde56bacea1dd82cc (diff) | |
MAINT-4077: Refactoring to add copy constructors to the LLVisualParam class and all of its derived descendants in order to clarify ownership of memory pointers.
Diffstat (limited to 'indra/llappearance/llviewervisualparam.cpp')
| -rw-r--r-- | indra/llappearance/llviewervisualparam.cpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/indra/llappearance/llviewervisualparam.cpp b/indra/llappearance/llviewervisualparam.cpp index cc81bcf118..f58f7c24bc 100644 --- a/indra/llappearance/llviewervisualparam.cpp +++ b/indra/llappearance/llviewervisualparam.cpp @@ -123,6 +123,22 @@ BOOL LLViewerVisualParamInfo::parseXml(LLXmlTreeNode *node) // LLViewerVisualParam() //----------------------------------------------------------------------------- LLViewerVisualParam::LLViewerVisualParam() + : LLVisualParam() +{ +} + +//----------------------------------------------------------------------------- +// LLViewerVisualParam() +//----------------------------------------------------------------------------- +LLViewerVisualParam::LLViewerVisualParam(const LLViewerVisualParam& pOther) + : LLVisualParam(pOther) +{ +} + +//----------------------------------------------------------------------------- +// ~LLViewerVisualParam() +//----------------------------------------------------------------------------- +LLViewerVisualParam::~LLViewerVisualParam() { } |
