aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/pool/source
diff options
context:
space:
mode:
authorThomas Grill <xovo@users.sourceforge.net>2004-08-10 03:37:21 +0000
committerThomas Grill <xovo@users.sourceforge.net>2004-08-10 03:37:21 +0000
commit62f2a55bbaf2724375c0c1455329c7b4d0fe4ecd (patch)
tree9160baaec38a7ae34e22027e47f65b468df50879 /externals/grill/pool/source
parent849cd0933db8af7191be6ce8e1d39b0452d43eea (diff)
""
svn path=/trunk/; revision=1935
Diffstat (limited to 'externals/grill/pool/source')
-rw-r--r--externals/grill/pool/source/main.cpp2
-rw-r--r--externals/grill/pool/source/pool.cpp12
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;
};