Skip to content

Commit defc2b9

Browse files
committed
fix: no lambda with auto
1 parent 03e9408 commit defc2b9

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

lib/astutils.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1046,14 +1046,14 @@ bool isOperationResultWithinIntRange(const Token* op, const Settings& settings,
10461046
return false;
10471047

10481048
return checkAllRangeOperations(*leftRange, *rightRange, settings,
1049-
[](auto a, auto b) {
1049+
[](MathLib::bigint a, MathLib::bigint b) {
10501050
return a << b;
10511051
});
10521052
}
10531053

10541054
if (op->str() == "*")
10551055
return checkAllRangeOperations(*leftRange, *rightRange, settings,
1056-
[](auto a, auto b) {
1056+
[](MathLib::bigint a, MathLib::bigint b) {
10571057
return a * b;
10581058
});
10591059

0 commit comments

Comments
 (0)