1
0
mirror of https://github.com/VCMP-SqMod/SqMod.git synced 2026-01-20 06:04:40 +01:00

Minor changes in tasks.

This commit is contained in:
Sandu Liviu Catalin
2016-11-17 23:09:35 +02:00
parent 659f522efa
commit 7ab1084955
2 changed files with 9 additions and 11 deletions

View File

@@ -94,9 +94,9 @@ private:
/* ----------------------------------------------------------------------------------------
* Used by the script engine to convert an instance of this type to a string.
*/
CSStr ToString() const
const String & ToString() const
{
return ToStrF("%lld", static_cast< Int64 >(mInterval));
return mTag;
}
/* ----------------------------------------------------------------------------------------
@@ -250,7 +250,7 @@ private:
/* ----------------------------------------------------------------------------------------
* Retrieve a certain argument.
*/
LightObj GetArgument(SQInteger arg) const
const Argument & GetArgument(SQInteger arg) const
{
constexpr Uint32 argvn = (sizeof(mArgv) / sizeof(mArgv[0]));
// Cast the index to the proper value