Minor changes in tasks.

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

No files matched your search

+3 -3
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