summaryrefslogtreecommitdiff
path: root/src/pugixml.cpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-08-29 15:44:01 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-08-29 15:44:01 +0000
commitf3795e55dd2f071bf8ef5b6980ef71b538ec27fb (patch)
tree866682b603588486c5958f572b6d5e9924f8f943 /src/pugixml.cpp
parente7b0e52068bd292bccfb0ae886c770578604cf6d (diff)
Minor unspecified bool refactoring (removed redundant CW workaround)
git-svn-id: http://pugixml.googlecode.com/svn/trunk@685 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixml.cpp')
-rw-r--r--src/pugixml.cpp8
1 files changed, 0 insertions, 8 deletions
diff --git a/src/pugixml.cpp b/src/pugixml.cpp
index 95ac883..ebc5e82 100644
--- a/src/pugixml.cpp
+++ b/src/pugixml.cpp
@@ -3071,11 +3071,7 @@ namespace pugi
xml_attribute::operator xml_attribute::unspecified_bool_type() const
{
-#ifdef __MWERKS__
- return _attr ? &xml_attribute::empty : 0;
-#else
return _attr ? &xml_attribute::_attr : 0;
-#endif
}
bool xml_attribute::operator!() const
@@ -3319,11 +3315,7 @@ namespace pugi
xml_node::operator xml_node::unspecified_bool_type() const
{
-#ifdef __MWERKS__
- return _root ? &xml_node::empty : 0;
-#else
return _root ? &xml_node::_root : 0;
-#endif
}
bool xml_node::operator!() const