From 25c1c6b903279b4d07280a2362f89b89e93bcf4a Mon Sep 17 00:00:00 2001 From: Stefan Dunca Date: Mon, 1 Jul 2019 14:27:48 +0200 Subject: [PATCH] Fix usage of boolean due to definition conflicting with Windows SDK's --- src/zxing/zxing/InvertedLuminanceSource.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/zxing/zxing/InvertedLuminanceSource.cpp b/src/zxing/zxing/InvertedLuminanceSource.cpp index 859327d..e1b5e08 100644 --- a/src/zxing/zxing/InvertedLuminanceSource.cpp +++ b/src/zxing/zxing/InvertedLuminanceSource.cpp @@ -18,7 +18,6 @@ #include #include -using zxing::boolean; using zxing::Ref; using zxing::ArrayRef; using zxing::LuminanceSource; @@ -55,7 +54,7 @@ Ref InvertedLuminanceSource::crop(int left, int top, int width, return Ref(new InvertedLuminanceSource(delegate->crop(left, top, width, height))); } -boolean InvertedLuminanceSource::isRotateSupported() const { +zxing::boolean InvertedLuminanceSource::isRotateSupported() const { return delegate->isRotateSupported(); }