From 580674d6bca1ad72d351cbe81af9e4f43af46a53 Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Fri, 18 Mar 2005 04:56:27 +0000 Subject: fix for gcc small update of linkage styles etc. svn path=/trunk/; revision=2632 --- externals/grill/flext/source/flmap.h | 4 ++-- externals/grill/flext/source/flsupport.cpp | 2 ++ externals/grill/flext/source/flsupport.h | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) (limited to 'externals/grill/flext') 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 -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 - class FLEXT_SHARE AtomListStatic + class AtomListStatic : public AtomListStaticBase { public: -- cgit v1.2.1