Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 2 additions & 7 deletions src/html_parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
namespace metaproxy_1 {
class HTMLParser::Rep {
friend class HTMLParser;
public:
private:
void parse_str(HTMLParserEvent &event, const char *cp);
void tagText(HTMLParserEvent &event,
const char *text_start, const char *text_end);
Expand All @@ -46,7 +46,6 @@ namespace metaproxy_1 {
const char *cp, int *attr_len,
const char **value, int *val_len, int *tr);
Rep();
~Rep();
int m_verbose;
bool nest;
};
Expand All @@ -60,10 +59,6 @@ mp::HTMLParser::Rep::Rep()
nest = true;
}

mp::HTMLParser::Rep::~Rep()
{
}

mp::HTMLParser::HTMLParser() : m_p(new Rep)
{
}
Expand Down Expand Up @@ -268,7 +263,7 @@ void mp::HTMLParser::Rep::parse_str(HTMLParserEvent &event, const char *cp)
else if (*cp == '/' && isAlpha(cp[1]))
{
int i;

i = skipName(++cp);

if (!nest)
Expand Down
Loading