1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-06-30 22:17:13 +02:00

Discard instances of constant StackStrF parameters. This should always be non-const if possible.

This commit is contained in:
Sandu Liviu Catalin
2019-02-17 17:23:59 +02:00
parent baee2d5c33
commit 600c21d45f
68 changed files with 250 additions and 227 deletions

View File

@ -55,7 +55,7 @@ const String & CCheckpoint::GetTag() const
}
// ------------------------------------------------------------------------------------------------
void CCheckpoint::SetTag(const StackStrF & tag)
void CCheckpoint::SetTag(StackStrF & tag)
{
if (tag.mLen > 0)
{
@ -68,7 +68,7 @@ void CCheckpoint::SetTag(const StackStrF & tag)
}
// ------------------------------------------------------------------------------------------------
CCheckpoint & CCheckpoint::ApplyTag(const StackStrF & tag)
CCheckpoint & CCheckpoint::ApplyTag(StackStrF & tag)
{
SetTag(tag);
return *this;