From a75f87b77c4967af0ec11e9c6b9ab3b769b98f4d Mon Sep 17 00:00:00 2001 From: Sandu Liviu Catalin Date: Mon, 30 Jul 2018 01:10:35 +0300 Subject: [PATCH] Update the MaxmindDB module to comply with the new StackStrF changes. --- modules/mmdb/LookupResult.cpp | 4 ++-- modules/mmdb/SearchNode.cpp | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/mmdb/LookupResult.cpp b/modules/mmdb/LookupResult.cpp index f21cca8f..d936ac1b 100644 --- a/modules/mmdb/LookupResult.cpp +++ b/modules/mmdb/LookupResult.cpp @@ -132,9 +132,9 @@ SQInteger LookupResult::GetValue(HSQUIRRELVM vm) // Extract each argument as a string 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? - if (SQ_FAILED(arglist.back().mRes)) + if (SQ_FAILED(arglist.back().Proc(false))) { return arglist.back().mRes; // Propagate the error } diff --git a/modules/mmdb/SearchNode.cpp b/modules/mmdb/SearchNode.cpp index decd039f..50875363 100644 --- a/modules/mmdb/SearchNode.cpp +++ b/modules/mmdb/SearchNode.cpp @@ -138,9 +138,9 @@ SQInteger SearchNode::GetRecordEntryData(HSQUIRRELVM vm, bool right) // Extract each argument as a string 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? - if (SQ_FAILED(arglist.back().mRes)) + if (SQ_FAILED(arglist.back().Proc(false))) { return arglist.back().mRes; // Propagate the error }