summaryrefslogtreecommitdiff
path: root/src/pugixml.cpp
diff options
context:
space:
mode:
authorarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-03-23 03:24:44 +0000
committerarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-03-23 03:24:44 +0000
commit43fac19d81a843789e276d31b032b5511accb68c (patch)
tree6a702aaccd59024a46e3b130a39eadde848389f9 /src/pugixml.cpp
parent48391dbe8c52af5deae62ece3175f0e73da741de (diff)
Added xml_text &&/|| operators for Borland C++
git-svn-id: http://pugixml.googlecode.com/svn/trunk@874 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixml.cpp')
-rw-r--r--src/pugixml.cpp11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp
index 28be942..105e056 100644
--- a/src/pugixml.cpp
+++ b/src/pugixml.cpp
@@ -4866,6 +4866,17 @@ namespace pugi
return *this;
}
+#ifdef __BORLANDC__
+ PUGI__FN bool operator&&(const xml_text& lhs, bool rhs)
+ {
+ return (bool)lhs && rhs;
+ }
+
+ PUGI__FN bool operator||(const xml_text& lhs, bool rhs)
+ {
+ return (bool)lhs || rhs;
+ }
+#endif
PUGI__FN xml_node_iterator::xml_node_iterator()
{