mirror of https://github.com/status-im/qzxing.git
Replace missing abs() with ::abs()
This commit is contained in:
parent
b2dc634098
commit
38409776aa
|
@ -357,7 +357,7 @@ Ref<ResultPointsAndTransitions> Detector::transitionsBetween(Ref<ResultPoint> fr
|
|||
int fromY = (int) from->getY();
|
||||
int toX = (int) to->getX();
|
||||
int toY = (int) to->getY();
|
||||
bool steep = ::abs(toY - fromY) > abs(toX - fromX);
|
||||
bool steep = ::abs(toY - fromY) > ::abs(toX - fromX);
|
||||
if (steep) {
|
||||
int temp = fromX;
|
||||
fromX = fromY;
|
||||
|
|
Loading…
Reference in New Issue