summaryrefslogtreecommitdiff
path: root/liborcus
diff options
context:
space:
mode:
authorTor Lillqvist <tml@iki.fi>2012-09-20 09:52:13 +0300
committerTor Lillqvist <tml@iki.fi>2012-09-20 09:52:13 +0300
commit7e871bbaf7b208dd884528259211385b8074da39 (patch)
treed145e71cd4a6f79b4a197fee9186f5805bf013f4 /liborcus
parent21b5706f83edecad8cd3d0ab3ce5110b82e75a46 (diff)
WaE: declaration of 'content' shadows a member of 'this'
Change-Id: I1cc06ac0608ef159eb3027bea614b2dade8b857c
Diffstat (limited to 'liborcus')
-rw-r--r--liborcus/liborcus_0.1.0-warnings.patch15
1 files changed, 15 insertions, 0 deletions
diff --git a/liborcus/liborcus_0.1.0-warnings.patch b/liborcus/liborcus_0.1.0-warnings.patch
index 8ddcdad6e8bd..9ba566c5c278 100644
--- a/liborcus/liborcus_0.1.0-warnings.patch
+++ b/liborcus/liborcus_0.1.0-warnings.patch
@@ -90,3 +90,18 @@
pstring trim() const;
+--- include/orcus/sax_parser.hpp
++++ include/orcus/sax_parser.hpp
+@@ -159,9 +159,9 @@
+
+ template<typename _Handler>
+ sax_parser<_Handler>::sax_parser(
+- const char* content, const size_t size, handler_type& handler) :
+- m_content(content),
+- m_char(content),
++ const char* content_, const size_t size, handler_type& handler) :
++ m_content(content_),
++ m_char(content_),
+ m_size(size),
+ m_pos(0),
+ m_nest_level(0),