diff options
author | Jacek Antonelli | 2008-08-15 23:44:50 -0500 |
---|---|---|
committer | Jacek Antonelli | 2008-08-15 23:44:50 -0500 |
commit | 89fe5dab825a62a0e3fd8d248cbc91c65eb2a426 (patch) | |
tree | bcff14b7888d04a2fec799c59369f6095224bd08 /linden/indra/llmath/lltreenode.h | |
parent | Second Life viewer sources 1.13.3.2 (diff) | |
download | meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.zip meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.gz meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.bz2 meta-impy-89fe5dab825a62a0e3fd8d248cbc91c65eb2a426.tar.xz |
Second Life viewer sources 1.14.0.0
Diffstat (limited to 'linden/indra/llmath/lltreenode.h')
-rw-r--r-- | linden/indra/llmath/lltreenode.h | 5 |
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 | |||
41 | public: | 41 | public: |
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 | ||
56 | template <class T> | 55 | template <class T> |
57 | class LLTreeListener | 56 | class LLTreeListener: public LLRefCount |
58 | { | 57 | { |
59 | public: | 58 | public: |
60 | virtual ~LLTreeListener() { }; | 59 | virtual ~LLTreeListener() { }; |
@@ -94,7 +93,7 @@ protected: | |||
94 | 93 | ||
95 | LLTreeState<T>* mState; | 94 | LLTreeState<T>* mState; |
96 | public: | 95 | public: |
97 | std::vector<LLTreeListener<T>*> mListeners; | 96 | std::vector<LLPointer<LLTreeListener<T> > > mListeners; |
98 | }; | 97 | }; |
99 | 98 | ||
100 | template <class T> | 99 | template <class T> |