Refactoring; Avoid template<>
This commit is contained in:
parent
9eb6925976
commit
6c1cc54671
|
@ -4612,8 +4612,7 @@ static bool isInBounds(const ValueFlow::Value& value, MathLib::bigint x)
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|
||||||
template<class Compare>
|
static const ValueFlow::Value* getCompareIntValue(const std::list<ValueFlow::Value>& values, std::function<bool(MathLib::bigint, MathLib::bigint)> compare)
|
||||||
static const ValueFlow::Value* getCompareIntValue(const std::list<ValueFlow::Value>& values, Compare compare)
|
|
||||||
{
|
{
|
||||||
const ValueFlow::Value* result = nullptr;
|
const ValueFlow::Value* result = nullptr;
|
||||||
for (const ValueFlow::Value& value : values) {
|
for (const ValueFlow::Value& value : values) {
|
||||||
|
|
Loading…
Reference in New Issue