diff options
Diffstat (limited to 'externals')
-rw-r--r-- | externals/grill/flext/source/flmap.h | 4 | ||||
-rw-r--r-- | externals/grill/flext/source/flsupport.cpp | 2 | ||||
-rw-r--r-- | externals/grill/flext/source/flsupport.h | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/externals/grill/flext/source/flmap.h b/externals/grill/flext/source/flmap.h index 7355a7ff..814f22ba 100644 --- a/externals/grill/flext/source/flmap.h +++ b/externals/grill/flext/source/flmap.h @@ -99,7 +99,7 @@ protected: , n(0),parent(p),left(NULL),right(NULL) {} - virtual ~TableAnyMap() { clear(); } + virtual ~TableAnyMap(); int size() const; @@ -183,7 +183,7 @@ protected: template <typename K,typename T,int N = 8,bool O = false> -class FLEXT_SHARE TableMap +class TableMap : TableAnyMap { public: diff --git a/externals/grill/flext/source/flsupport.cpp b/externals/grill/flext/source/flsupport.cpp index 1a55bdc5..004e8627 100644 --- a/externals/grill/flext/source/flsupport.cpp +++ b/externals/grill/flext/source/flsupport.cpp @@ -304,6 +304,8 @@ AnyMap::iterator AnyMap::find(AnyMapType k) { return Parent::find(k); } AnyMapType &AnyMap::operator [](AnyMapType k) { return Parent::operator [](k); } #endif +TableAnyMap::~TableAnyMap() { clear(); } + void TableAnyMap::clear() { if(left) { delete left; left = NULL; } diff --git a/externals/grill/flext/source/flsupport.h b/externals/grill/flext/source/flsupport.h index 2491c035..9c5a7a41 100644 --- a/externals/grill/flext/source/flsupport.h +++ b/externals/grill/flext/source/flsupport.h @@ -636,7 +636,7 @@ public: }; template<int PRE> - class FLEXT_SHARE AtomListStatic + class AtomListStatic : public AtomListStaticBase { public: |