Kaydet (Commit) 7e871bba authored tarafından Tor Lillqvist's avatar Tor Lillqvist

WaE: declaration of 'content' shadows a member of 'this'

Change-Id: I1cc06ac0608ef159eb3027bea614b2dade8b857c
üst 21b5706f
......@@ -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),
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment