summaryrefslogtreecommitdiff
path: root/indra/llappearance/llviewervisualparam.cpp
diff options
context:
space:
mode:
authorStinson Linden <stinson@lindenlab.com>2014-05-23 21:56:44 +0100
committerStinson Linden <stinson@lindenlab.com>2014-05-23 21:56:44 +0100
commit0160c514c5e0bc3e575b33ef27924a9c8c7c30cf (patch)
treecd181ea27a9193911ed6f3904345af4871464bcc /indra/llappearance/llviewervisualparam.cpp
parenta13d2f7f706bc8d5a4ea103cde56bacea1dd82cc (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.cpp16
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()
{
}