Loading src/html.cpp +12 −0 Original line number Diff line number Diff line Loading @@ -177,6 +177,10 @@ namespace libhtmlpp { } ~DocElements() { auto cur = std::move(nextel); while (cur) { cur = std::move(cur->nextel); } } }; }; Loading Loading @@ -1322,6 +1326,10 @@ libhtmlpp::Element::Element(const libhtmlpp::Element& el){ } libhtmlpp::Element::~Element(){ auto cur = std::move(_nextElement); while (cur) { cur = std::move(cur->_nextElement); } }; void libhtmlpp::Element::remove(libhtmlpp::Element* el){ Loading Loading @@ -2460,6 +2468,10 @@ libhtmlpp::HtmlElement::Attributes::Attributes() { } libhtmlpp::HtmlElement::Attributes::~Attributes() { auto cur = std::move(_nextAttr); while (cur) { cur = std::move(cur->_nextAttr); } } int libhtmlpp::HtmlElement::getType() const{ Loading Loading
src/html.cpp +12 −0 Original line number Diff line number Diff line Loading @@ -177,6 +177,10 @@ namespace libhtmlpp { } ~DocElements() { auto cur = std::move(nextel); while (cur) { cur = std::move(cur->nextel); } } }; }; Loading Loading @@ -1322,6 +1326,10 @@ libhtmlpp::Element::Element(const libhtmlpp::Element& el){ } libhtmlpp::Element::~Element(){ auto cur = std::move(_nextElement); while (cur) { cur = std::move(cur->_nextElement); } }; void libhtmlpp::Element::remove(libhtmlpp::Element* el){ Loading Loading @@ -2460,6 +2468,10 @@ libhtmlpp::HtmlElement::Attributes::Attributes() { } libhtmlpp::HtmlElement::Attributes::~Attributes() { auto cur = std::move(_nextAttr); while (cur) { cur = std::move(cur->_nextAttr); } } int libhtmlpp::HtmlElement::getType() const{ Loading