aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/linden/indra/llmath/lltreenode.h
diff options
context:
space:
mode:
Diffstat (limited to 'linden/indra/llmath/lltreenode.h')
-rw-r--r--linden/indra/llmath/lltreenode.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/linden/indra/llmath/lltreenode.h b/linden/indra/llmath/lltreenode.h
index 78ff759..ba3c867 100644
--- a/linden/indra/llmath/lltreenode.h
+++ b/linden/indra/llmath/lltreenode.h
@@ -41,7 +41,6 @@ class LLTreeState
41public: 41public:
42 LLTreeState(LLTreeNode<T>* node) { setNode(node); } 42 LLTreeState(LLTreeNode<T>* node) { setNode(node); }
43 virtual ~LLTreeState() { }; 43 virtual ~LLTreeState() { };
44
45 virtual bool insert(T* data) = 0; 44 virtual bool insert(T* data) = 0;
46 virtual bool remove(T* data) = 0; 45 virtual bool remove(T* data) = 0;
47 virtual void setNode(LLTreeNode<T>* node); 46 virtual void setNode(LLTreeNode<T>* node);
@@ -54,7 +53,7 @@ private:
54}; 53};
55 54
56template <class T> 55template <class T>
57class LLTreeListener 56class LLTreeListener: public LLRefCount
58{ 57{
59public: 58public:
60 virtual ~LLTreeListener() { }; 59 virtual ~LLTreeListener() { };
@@ -94,7 +93,7 @@ protected:
94 93
95 LLTreeState<T>* mState; 94 LLTreeState<T>* mState;
96public: 95public:
97 std::vector<LLTreeListener<T>*> mListeners; 96 std::vector<LLPointer<LLTreeListener<T> > > mListeners;
98}; 97};
99 98
100template <class T> 99template <class T>