mirror of
https://github.com/VCMP-SqMod/SqMod.git
synced 2025-03-18 18:17:14 +01:00
Update the MaxmindDB module to comply with the new StackStrF changes.
This commit is contained in:
parent
53564d6136
commit
a75f87b77c
@ -132,9 +132,9 @@ SQInteger LookupResult::GetValue(HSQUIRRELVM vm)
|
|||||||
// Extract each argument as a string
|
// Extract each argument as a string
|
||||||
for (SQInteger i = 2; i <= top; ++i)
|
for (SQInteger i = 2; i <= top; ++i)
|
||||||
{
|
{
|
||||||
arglist.emplace_back(vm, i, false);
|
arglist.emplace_back(vm, i);
|
||||||
// Did we fail to extract the argument value?
|
// Did we fail to extract the argument value?
|
||||||
if (SQ_FAILED(arglist.back().mRes))
|
if (SQ_FAILED(arglist.back().Proc(false)))
|
||||||
{
|
{
|
||||||
return arglist.back().mRes; // Propagate the error
|
return arglist.back().mRes; // Propagate the error
|
||||||
}
|
}
|
||||||
|
@ -138,9 +138,9 @@ SQInteger SearchNode::GetRecordEntryData(HSQUIRRELVM vm, bool right)
|
|||||||
// Extract each argument as a string
|
// Extract each argument as a string
|
||||||
for (SQInteger i = 2; i <= top; ++i)
|
for (SQInteger i = 2; i <= top; ++i)
|
||||||
{
|
{
|
||||||
arglist.emplace_back(vm, i, false);
|
arglist.emplace_back(vm, i);
|
||||||
// Did we fail to extract the argument value?
|
// Did we fail to extract the argument value?
|
||||||
if (SQ_FAILED(arglist.back().mRes))
|
if (SQ_FAILED(arglist.back().Proc(false)))
|
||||||
{
|
{
|
||||||
return arglist.back().mRes; // Propagate the error
|
return arglist.back().mRes; // Propagate the error
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user