Loading src/html.cpp +1 −3 Original line number Diff line number Diff line Loading @@ -743,7 +743,7 @@ void libhtmlpp::HtmlElement::insertChild(const libhtmlpp::Element* el){ void libhtmlpp::HtmlElement::insertChild(const Element& el){ insertChild(&el); } #include <iostream> void libhtmlpp::HtmlElement::appendChild(const libhtmlpp::Element* el){ if(_childElement){ Element *curel=_childElement,*prev=nullptr; Loading @@ -752,8 +752,6 @@ void libhtmlpp::HtmlElement::appendChild(const libhtmlpp::Element* el){ curel=curel->nextElement(); }while(curel); std::cout << el->getType() << std::endl; for(const Element *nextel=el; nextel; nextel=nextel->nextElement()){ switch(nextel->getType()){ case HtmlEl: Loading Loading
src/html.cpp +1 −3 Original line number Diff line number Diff line Loading @@ -743,7 +743,7 @@ void libhtmlpp::HtmlElement::insertChild(const libhtmlpp::Element* el){ void libhtmlpp::HtmlElement::insertChild(const Element& el){ insertChild(&el); } #include <iostream> void libhtmlpp::HtmlElement::appendChild(const libhtmlpp::Element* el){ if(_childElement){ Element *curel=_childElement,*prev=nullptr; Loading @@ -752,8 +752,6 @@ void libhtmlpp::HtmlElement::appendChild(const libhtmlpp::Element* el){ curel=curel->nextElement(); }while(curel); std::cout << el->getType() << std::endl; for(const Element *nextel=el; nextel; nextel=nextel->nextElement()){ switch(nextel->getType()){ case HtmlEl: Loading