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:
@ -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;
|
||||
|
Reference in New Issue
Block a user