diff options
author | Josh Bell <josh@lindenlab.com> | 2007-06-04 18:46:59 +0000 |
---|---|---|
committer | Josh Bell <josh@lindenlab.com> | 2007-06-04 18:46:59 +0000 |
commit | e61a10ec5b6b84fcb5c27e8e308022d0094f8736 (patch) | |
tree | bcf6152629edb1b2548af039bd89b6b573e1e514 /indra/newview/llviewerpartsim.h | |
parent | 3e9872a297c3cf3f929e688e0e89a78f6bc050f5 (diff) |
svn merge -r 62602:62831 svn+ssh://svn.lindenlab.com/svn/linden/branches/maintenance --> release
Diffstat (limited to 'indra/newview/llviewerpartsim.h')
-rw-r--r-- | indra/newview/llviewerpartsim.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/indra/newview/llviewerpartsim.h b/indra/newview/llviewerpartsim.h index b0b9500ac6..afde3049f7 100644 --- a/indra/newview/llviewerpartsim.h +++ b/indra/newview/llviewerpartsim.h @@ -33,12 +33,13 @@ typedef void (*LLVPCallback)(LLViewerPart &part, const F32 dt); class LLViewerPart : public LLPartData, public LLRefCount { +protected: + ~LLViewerPart(); public: LLViewerPart(); - ~LLViewerPart(); LLViewerPart &operator=(const LLViewerPart &part); - void init(LLViewerPartSource *sourcep, LLViewerImage *imagep, LLVPCallback cb); + void init(LLPointer<LLViewerPartSource> sourcep, LLViewerImage *imagep, LLVPCallback cb); U32 mPartID; // Particle ID used primarily for moving between groups @@ -113,7 +114,7 @@ public: void updateSimulation(); - void addPartSource(LLViewerPartSource *sourcep); + void addPartSource(LLPointer<LLViewerPartSource> sourcep); void cleanupRegion(LLViewerRegion *regionp); |