1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2025-09-08 16:17:11 +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

@@ -350,7 +350,7 @@ SQInteger Connection::QueryF(HSQUIRRELVM vm)
}
// ------------------------------------------------------------------------------------------------
LightObj Connection::EscapeString(const StackStrF & str)
LightObj Connection::EscapeString(StackStrF & str)
{
// Is there even a string to escape?
if (str.mLen <= 0)

View File

@@ -414,7 +414,7 @@ public:
/* --------------------------------------------------------------------------------------------
* Escape unwanted characters from a given string.
*/
LightObj EscapeString(const StackStrF & str);
LightObj EscapeString(StackStrF & str);
/* --------------------------------------------------------------------------------------------
* Attempt to execute the specified query.