expect QRS to always send distance threshold
@@ -273,13 +273,10 @@ SimpleQueryStackDumpIterator::next()
_extraIntArg1 = readCompressedPositiveInt(p); // targetNumHits
_extraIntArg2 = readCompressedPositiveInt(p); // allow_approximate
_extraIntArg3 = readCompressedPositiveInt(p); // explore_additional_hits
- if ((_extraIntArg2 & 0x40) != 0) {
+ // XXX: remove later when QRS doesn't send this extra flag
_extraIntArg2 &= ~0x40;
- // in some later release, do this always:
+ // QRS always sends this now:
_extraDoubleArg4 = read_double(p); // distance threshold
- } else {
- _extraDoubleArg4 = std::numeric_limits<double>::max();
- }
_currArity = 0;
} catch (...) {
return false;
