From 38409776aaf7f27ae3c2c2d0e49eeec4b00b5f84 Mon Sep 17 00:00:00 2001 From: "Alfred E. Neumayer" Date: Mon, 15 Apr 2019 12:34:01 +0200 Subject: [PATCH] Replace missing abs() with ::abs() --- src/zxing/zxing/datamatrix/detector/DataMatrixDetector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zxing/zxing/datamatrix/detector/DataMatrixDetector.cpp b/src/zxing/zxing/datamatrix/detector/DataMatrixDetector.cpp index e33c340..ec2a805 100644 --- a/src/zxing/zxing/datamatrix/detector/DataMatrixDetector.cpp +++ b/src/zxing/zxing/datamatrix/detector/DataMatrixDetector.cpp @@ -357,7 +357,7 @@ Ref Detector::transitionsBetween(Ref 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;