Tidy up some xml structures.

This commit is contained in:
jmsgrogan 2020-05-09 15:29:45 +01:00
parent 875cdc84ff
commit 8771b721d1
31 changed files with 885 additions and 563 deletions

View file

@ -1,11 +1,12 @@
#include "HtmlElement.h"
HtmlElement::HtmlElement()
HtmlElement::HtmlElement(const std::string& tagName)
: XmlElement(tagName)
{
}
static std::shared_ptr<HtmlElement> HtmlElement::Create()
static std::unique_ptr<HtmlElement> HtmlElement::CreateUnique(const std::string& tagName)
{
return std::make_shared<HtmlElement>();
return std::make_unique<HtmlElement>(tagName);
}