From 62f2a55bbaf2724375c0c1455329c7b4d0fe4ecd Mon Sep 17 00:00:00 2001 From: Thomas Grill Date: Tue, 10 Aug 2004 03:37:21 +0000 Subject: "" svn path=/trunk/; revision=1935 --- externals/grill/pool/source/main.cpp | 2 +- externals/grill/pool/source/pool.cpp | 12 +++++++++++- 2 files changed, 12 insertions(+), 2 deletions(-) (limited to 'externals/grill/pool/source') diff --git a/externals/grill/pool/source/main.cpp b/externals/grill/pool/source/main.cpp index 3e74360d..e6fb1273 100644 --- a/externals/grill/pool/source/main.cpp +++ b/externals/grill/pool/source/main.cpp @@ -1024,7 +1024,7 @@ V pool::ldrec(I argc,const A *argv,BL xml) else { string fl(MakeFilename(flnm)); if(!(xml?pl->LdDirXML(curdir,fl.c_str(),depth,mkdir):pl->LdDir(curdir,fl.c_str(),depth,mkdir))) - post("%s - %s: directory couldn't be saved",thisName(),sym); + post("%s - %s: directory couldn't be saved",thisName(),sym); } echodir(); diff --git a/externals/grill/pool/source/pool.cpp b/externals/grill/pool/source/pool.cpp index fd4b4a83..1e3f26c2 100644 --- a/externals/grill/pool/source/pool.cpp +++ b/externals/grill/pool/source/pool.cpp @@ -590,7 +590,17 @@ public: string tag,attr; bool Ok() const { return tag.length() > 0; } bool operator ==(const C *t) const { return !tag.compare(t); } - void Clear() { tag.clear(); attr.clear(); } + + void Clear() + { +#if defined(_MSC_VER) && (_MSC_VER < 0x1200) + // incomplete STL implementation + tag = ""; attr = ""; +#else + tag.clear(); attr.clear(); +#endif + } + enum { t_start,t_end,t_empty } type; }; -- cgit v1.2.1