summaryrefslogtreecommitdiff
path: root/indra/newview/llvoinventorylistener.h
diff options
context:
space:
mode:
Diffstat (limited to 'indra/newview/llvoinventorylistener.h')
-rw-r--r--indra/newview/llvoinventorylistener.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/indra/newview/llvoinventorylistener.h b/indra/newview/llvoinventorylistener.h
index 7f14b5d74a..80874431ea 100644
--- a/indra/newview/llvoinventorylistener.h
+++ b/indra/newview/llvoinventorylistener.h
@@ -36,7 +36,12 @@ protected:
void requestVOInventory();
private:
- LLPointer<LLViewerObject> mListenerVObject;
+ // LLViewerObject is normally wrapped by an LLPointer, but not in
+ // this case, because it's already sure to be kept alive by
+ // LLPointers held by other objects that have longer lifetimes
+ // than this one. Plumbing correct LLPointer usage all the way
+ // down here has been deemed too much work for now.
+ LLViewerObject *mListenerVObject;
};
#endif