diff options
Diffstat (limited to 'externals/grill/pool/source')
-rw-r--r-- | externals/grill/pool/source/main.cpp | 2 | ||||
-rw-r--r-- | externals/grill/pool/source/pool.cpp | 12 |
2 files changed, 12 insertions, 2 deletions
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; }; |