Loading src/html.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -706,6 +706,8 @@ void libhtmlpp::HtmlElement::insertChild(const Element& el){ } void libhtmlpp::HtmlElement::appendChild(const libhtmlpp::Element* el){ if(!el) return; if(_childElement){ Element *prev=nullptr; Loading Loading @@ -820,6 +822,8 @@ void libhtmlpp::HtmlElement::remove(libhtmlpp::Element* el){ namespace libhtmlpp { void _copy(libhtmlpp::Element *dest,const libhtmlpp::Element *src){ if(!dest || !src) return; const libhtmlpp::Element* prev=nullptr; Loading Loading
src/html.cpp +4 −0 Original line number Diff line number Diff line Loading @@ -706,6 +706,8 @@ void libhtmlpp::HtmlElement::insertChild(const Element& el){ } void libhtmlpp::HtmlElement::appendChild(const libhtmlpp::Element* el){ if(!el) return; if(_childElement){ Element *prev=nullptr; Loading Loading @@ -820,6 +822,8 @@ void libhtmlpp::HtmlElement::remove(libhtmlpp::Element* el){ namespace libhtmlpp { void _copy(libhtmlpp::Element *dest,const libhtmlpp::Element *src){ if(!dest || !src) return; const libhtmlpp::Element* prev=nullptr; Loading