summaryrefslogtreecommitdiff
path: root/src/pugixml.hpp
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.hpp
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.hpp')
-rw-r--r--src/pugixml.hpp9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/pugixml.hpp b/src/pugixml.hpp
index 20e8716..55e4b99 100644
--- a/src/pugixml.hpp
+++ b/src/pugixml.hpp
@@ -411,11 +411,7 @@ namespace pugi
xml_attribute_struct* _attr;
/// \internal Safe bool type
-#ifdef __MWERKS__
- typedef bool (xml_attribute::*unspecified_bool_type)() const;
-#else
typedef xml_attribute_struct* xml_attribute::*unspecified_bool_type;
-#endif
/// \internal Initializing constructor
explicit xml_attribute(xml_attribute_struct* attr);
@@ -672,11 +668,7 @@ namespace pugi
xml_node_struct* _root;
/// \internal Safe bool type
-#ifdef __MWERKS__
- typedef bool (xml_node::*unspecified_bool_type)() const;
-#else
typedef xml_node_struct* xml_node::*unspecified_bool_type;
-#endif
/// \internal Initializing constructor
explicit xml_node(xml_node_struct* p);
@@ -1881,6 +1873,7 @@ namespace pugi
xpath_ast_node* _root;
xpath_parse_result _result;
+ /// \internal Safe bool type
typedef xpath_ast_node* xpath_query::*unspecified_bool_type;
public: