Tidy up some xml structures.
This commit is contained in:
parent
875cdc84ff
commit
8771b721d1
31 changed files with 885 additions and 563 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue