1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-07-06 00:47:11 +02:00

Minor changes.

This commit is contained in:
Sandu Liviu Catalin
2022-03-09 22:59:19 +02:00
parent 7e39fab21a
commit 8dc0ca18f5
2 changed files with 12 additions and 12 deletions

View File

@ -663,7 +663,7 @@ protected:
* Explicit constructor.
*/
XmlNode(DocumentRef doc, const Type & node)
: m_Doc(std::move(doc)), m_Node(node)
: m_Node(node), m_Doc(std::move(doc))
{
/* ... */
}
@ -671,8 +671,8 @@ protected:
private:
// ---------------------------------------------------------------------------------------------
DocumentRef m_Doc{}; // The main xml document instance.
Type m_Node{}; // The managed document node.
DocumentRef m_Doc{}; // The main xml document instance.
public:
@ -781,7 +781,7 @@ public:
{
if (!m_Node.set_name(name.mPtr))
{
STHROWF("Unable to set XML node name `{s}`", name.ToStr());
STHROWF("Unable to set XML node name `{}`", name.ToStr());
}
return *this;
}
@ -1329,7 +1329,7 @@ public:
{
if (!m_Attr.set_name(name.mPtr))
{
STHROWF("Unable to set XML attribute name `{s}`", name.ToStr());
STHROWF("Unable to set XML attribute name `{}`", name.ToStr());
}
return *this;
}