Loading src/html.cpp +1 −11 Original line number Diff line number Diff line Loading @@ -65,17 +65,7 @@ namespace libhtmlpp { } ~DocElements() { libhtmlpp::DocElements* lastel=this; while(lastel->nextel!=nullptr){ lastel=lastel->nextel; } do{ libhtmlpp::DocElements* delel=lastel; lastel=lastel->prevel; delete delel; }while(lastel!=this); delete nextel; } }; }; Loading Loading
src/html.cpp +1 −11 Original line number Diff line number Diff line Loading @@ -65,17 +65,7 @@ namespace libhtmlpp { } ~DocElements() { libhtmlpp::DocElements* lastel=this; while(lastel->nextel!=nullptr){ lastel=lastel->nextel; } do{ libhtmlpp::DocElements* delel=lastel; lastel=lastel->prevel; delete delel; }while(lastel!=this); delete nextel; } }; }; Loading