aboutsummaryrefslogtreecommitdiff
path: root/externals/grill/pool/source/pool.cpp
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/pool.cpp
parent849cd0933db8af7191be6ce8e1d39b0452d43eea (diff)
""
svn path=/trunk/; revision=1935
Diffstat (limited to 'externals/grill/pool/source/pool.cpp')
-rw-r--r--externals/grill/pool/source/pool.cpp12
1 files changed, 11 insertions, 1 deletions
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;
};