1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-07-05 08:27:10 +02:00

Fix return value.

This commit is contained in:
Sandu Liviu Catalin
2022-03-09 22:33:35 +02:00
parent e6cbdfaf30
commit 27521f209d
2 changed files with 8 additions and 8 deletions

View File

@ -191,7 +191,7 @@ SQInteger XmlText::GetLong() const
XmlText & XmlText::SetLong(SQInteger value)
{
m_Text = value;
return &this;
return *this;
}
// ------------------------------------------------------------------------------------------------
@ -204,7 +204,7 @@ SQInteger XmlText::GetUlong() const
XmlText & XmlText::SetUlong(SQInteger value)
{
m_Text = static_cast< uint64_t >(value);
return &this;
return *this;
}
// ------------------------------------------------------------------------------------------------