Commit d7ea4825 authored by jan.koester's avatar jan.koester
Browse files

new api

parent 09f2f60d
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -537,6 +537,9 @@ libhtmlpp::HtmlElement::HtmlElement(const libhtmlpp::HtmlElement& hel) : HtmlEle
    _copy(nullptr,this,&hel);
}

libhtmlpp::HtmlElement::HtmlElement(const libhtmlpp::HtmlElement* hel) : HtmlElement(){
    _copy(nullptr,this,hel);
}

libhtmlpp::HtmlElement::~HtmlElement(){
    if(_Type==HtmlEl){
+1 −0
Original line number Diff line number Diff line
@@ -76,6 +76,7 @@ namespace libhtmlpp {
        HtmlElement();
        HtmlElement(const char* tag);
        HtmlElement(const HtmlElement &hel);
        HtmlElement(const HtmlElement *hel);
        ~HtmlElement();

        HtmlElement& operator=(const Element  hel);