From 2fa9a29ea7de942ee9c5362a1e1482c2609b2f3a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Marjam=C3=A4ki?= Date: Sun, 27 Oct 2019 16:40:16 +0100 Subject: [PATCH] --verify: Fix false negative in itc test suite --- lib/exprengine.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/lib/exprengine.h b/lib/exprengine.h index 4d13f88be..177c26e1c 100644 --- a/lib/exprengine.h +++ b/lib/exprengine.h @@ -138,6 +138,11 @@ namespace ExprEngine { , maxValue(maxValue) { } + virtual bool isEqual(DataBase *dataBase, int value) const { + (void)dataBase; + return value >= minValue && value <= maxValue; + } + std::string getRange() const override { return std::to_string(minValue) + ":" + std::to_string(maxValue); }