diff options
Diffstat (limited to '')
-rw-r--r-- | linden/indra/newview/llviewerpartsim.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/linden/indra/newview/llviewerpartsim.h b/linden/indra/newview/llviewerpartsim.h index 88eb065..0dc4324 100644 --- a/linden/indra/newview/llviewerpartsim.h +++ b/linden/indra/newview/llviewerpartsim.h | |||
@@ -53,12 +53,13 @@ typedef void (*LLVPCallback)(LLViewerPart &part, const F32 dt); | |||
53 | 53 | ||
54 | class LLViewerPart : public LLPartData, public LLRefCount | 54 | class LLViewerPart : public LLPartData, public LLRefCount |
55 | { | 55 | { |
56 | protected: | ||
57 | ~LLViewerPart(); | ||
56 | public: | 58 | public: |
57 | LLViewerPart(); | 59 | LLViewerPart(); |
58 | ~LLViewerPart(); | ||
59 | 60 | ||
60 | LLViewerPart &operator=(const LLViewerPart &part); | 61 | LLViewerPart &operator=(const LLViewerPart &part); |
61 | void init(LLViewerPartSource *sourcep, LLViewerImage *imagep, LLVPCallback cb); | 62 | void init(LLPointer<LLViewerPartSource> sourcep, LLViewerImage *imagep, LLVPCallback cb); |
62 | 63 | ||
63 | 64 | ||
64 | U32 mPartID; // Particle ID used primarily for moving between groups | 65 | U32 mPartID; // Particle ID used primarily for moving between groups |
@@ -133,7 +134,7 @@ public: | |||
133 | 134 | ||
134 | void updateSimulation(); | 135 | void updateSimulation(); |
135 | 136 | ||
136 | void addPartSource(LLViewerPartSource *sourcep); | 137 | void addPartSource(LLPointer<LLViewerPartSource> sourcep); |
137 | 138 | ||
138 | void cleanupRegion(LLViewerRegion *regionp); | 139 | void cleanupRegion(LLViewerRegion *regionp); |
139 | 140 | ||