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.h | |
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.h')
-rw-r--r-- | indra/llappearance/llviewervisualparam.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indra/llappearance/llviewervisualparam.h b/indra/llappearance/llviewervisualparam.h index 2826e6c316..1a710c0ca6 100644 --- a/indra/llappearance/llviewervisualparam.h +++ b/indra/llappearance/llviewervisualparam.h @@ -70,7 +70,7 @@ class LLViewerVisualParam : public LLVisualParam { public: LLViewerVisualParam(); - /*virtual*/ ~LLViewerVisualParam(){}; + virtual ~LLViewerVisualParam(); // Special: These functions are overridden by child classes LLViewerVisualParamInfo *getInfo() const { return (LLViewerVisualParamInfo*)mInfo; }; @@ -105,6 +105,8 @@ public: BOOL getCrossWearable() const { return getInfo()->mCrossWearable; } +protected: + LLViewerVisualParam(const LLViewerVisualParam& pOther); } LL_ALIGN_POSTFIX(16); #endif // LL_LLViewerVisualParam_H |