summaryrefslogtreecommitdiff
path: root/src/pugixml.hpp
diff options
context:
space:
mode:
authorarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-10-22 20:05:54 +0000
committerarseny.kapoulkine <arseny.kapoulkine@99668b35-9821-0410-8761-19e4c4f06640>2010-10-22 20:05:54 +0000
commit948cb037aec073255d71a19ae1f9f5a351deff72 (patch)
tree7a57b0ec1734cd997d21bd0ef6e9120986b0d22a /src/pugixml.hpp
parentf7e6723b638be83e33e9ecc6ea23ce43318b7b4c (diff)
Added a workaround for GCC 4.2 bogus warning
git-svn-id: http://pugixml.googlecode.com/svn/trunk@778 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugixml.hpp')
-rw-r--r--src/pugixml.hpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/pugixml.hpp b/src/pugixml.hpp
index bd6ad5f..63e0233 100644
--- a/src/pugixml.hpp
+++ b/src/pugixml.hpp
@@ -774,8 +774,6 @@ namespace pugi
};
#ifndef PUGIXML_NO_XPATH
- struct xpath_query_impl;
-
// XPath query return type
enum xpath_value_type
{
@@ -875,10 +873,10 @@ namespace pugi
class PUGIXML_CLASS xpath_query
{
private:
- xpath_query_impl* _impl;
+ void* _impl;
xpath_parse_result _result;
- typedef xpath_query_impl* xpath_query::*unspecified_bool_type;
+ typedef void* xpath_query::*unspecified_bool_type;
// Non-copyable semantics
xpath_query(const xpath_query&);