mirror of https://github.com/status-im/qzxing.git
WinRt (and Windows Phone) compilation fixes. std::Min and std::Max are in algorithm header.
This commit is contained in:
parent
45aa03fdca
commit
4ad07d7cb3
|
@ -291,3 +291,6 @@ win32-g++{
|
|||
!win32{
|
||||
DEFINES += NO_ICONV
|
||||
}
|
||||
winrt {
|
||||
DEFINES += NO_ICONV
|
||||
}
|
||||
|
|
|
@ -35,7 +35,6 @@ private:
|
|||
ArrayRef<char> rawBytes_;
|
||||
ArrayRef< Ref<ResultPoint> > resultPoints_;
|
||||
BarcodeFormat format_;
|
||||
//NOTE: My
|
||||
std::string charSet_;
|
||||
|
||||
public:
|
||||
|
|
|
@ -46,7 +46,6 @@ public:
|
|||
|
||||
ArrayRef<char> getRawBytes();
|
||||
Ref<String> getText();
|
||||
// NOTE: my
|
||||
std::string charSet();
|
||||
};
|
||||
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#include <zxing/NotFoundException.h>
|
||||
#include <zxing/common/detector/MonochromeRectangleDetector.h>
|
||||
#include <sstream>
|
||||
#include <algorithm>
|
||||
|
||||
using std::vector;
|
||||
using zxing::Ref;
|
||||
|
|
|
@ -27,6 +27,7 @@
|
|||
#include <zxing/NotFoundException.h>
|
||||
#include <sstream>
|
||||
#include <cstdlib>
|
||||
#include <algorithm>
|
||||
|
||||
using std::abs;
|
||||
using zxing::Ref;
|
||||
|
|
|
@ -26,6 +26,7 @@
|
|||
#include <math.h>
|
||||
#include <string.h>
|
||||
#include <sstream>
|
||||
#include <algorithm>
|
||||
|
||||
using std::vector;
|
||||
using std::string;
|
||||
|
|
|
@ -23,6 +23,7 @@
|
|||
#include <zxing/ChecksumException.h>
|
||||
#include <math.h>
|
||||
#include <limits.h>
|
||||
#include <algorithm>
|
||||
|
||||
using std::vector;
|
||||
using zxing::Ref;
|
||||
|
|
|
@ -22,6 +22,7 @@
|
|||
#include <zxing/NotFoundException.h>
|
||||
#include <math.h>
|
||||
#include <limits.h>
|
||||
#include <algorithm>
|
||||
|
||||
using std::vector;
|
||||
using zxing::Ref;
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
* See the License for the specific language governing permissions and
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
#include <algorithm>
|
||||
#include <limits>
|
||||
#include <zxing/pdf417/detector/Detector.h>
|
||||
#include <zxing/pdf417/detector/LinesSampler.h>
|
||||
|
|
|
@ -30,6 +30,7 @@
|
|||
#include <zxing/common/detector/MathUtils.h>
|
||||
#include <sstream>
|
||||
#include <cstdlib>
|
||||
#include <algorithm>
|
||||
|
||||
using std::ostringstream;
|
||||
using std::abs;
|
||||
|
|
Loading…
Reference in New Issue