This commit is contained in:
orbitcowboy 2022-06-03 10:22:29 +02:00
parent 345411a68c
commit 9b0f41e1a0
1 changed files with 1 additions and 1 deletions

View File

@ -1103,7 +1103,7 @@ static bool isSameLifetime(const Token * const tok1, const Token * const tok2)
return v1.tokvalue == v2.tokvalue; return v1.tokvalue == v2.tokvalue;
} }
static bool compareKnownValue(const Token * const tok1, const Token * const tok2, const std::function<bool(const ValueFlow::Value&, const ValueFlow::Value&, bool)> & compare) static bool compareKnownValue(const Token * const tok1, const Token * const tok2, std::function<bool(const ValueFlow::Value&, const ValueFlow::Value&, bool)> compare)
{ {
static const auto isKnownFn = std::mem_fn(&ValueFlow::Value::isKnown); static const auto isKnownFn = std::mem_fn(&ValueFlow::Value::isKnown);