summaryrefslogtreecommitdiff
path: root/external/zxing/invalid_argument.patch.1
blob: 66794583c19c55c50962cdf2debede2897c32923 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
From 302e8210b865576b35164f48bd57e003f6674dd1 Mon Sep 17 00:00:00 2001
From: FalsinSoft <falsinsoft@gmail.com>
Date: Wed, 11 Jan 2023 20:58:04 +0100
Subject: [PATCH] Fixed 'invalid_argument' is not a member of 'std' error on
 Visual Studio

---
 core/src/Matrix.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/core/src/Matrix.h b/core/src/Matrix.h
index 8b04bb1af..0c7c4e88b 100644
--- a/core/src/Matrix.h
+++ b/core/src/Matrix.h
@@ -9,6 +9,7 @@
 #include "Point.h"
 #include "ZXAlgorithms.h"
 
+#include <stdexcept>
 #include <algorithm>
 #include <cassert>
 #include <vector>