summaryrefslogtreecommitdiff
path: root/external/zxing/msvc-lambdacapture.patch.0
blob: 390d1cc6550209fe69ab662374310dd5c8bac0fe (plain)
1
2
3
4
5
6
7
8
9
10
11
--- core/src/qrcode/QRDetector.cpp
+++ core/src/qrcode/QRDetector.cpp
@@ -418,7 +418,7 @@
 
 	auto srcQuad = Rectangle(7, 7, 0.5);
 
-	constexpr PointI FORMAT_INFO_COORDS[] = {{0, 8}, {1, 8}, {2, 8}, {3, 8}, {4, 8}, {5, 8}, {6, 8}, {7, 8}, {8, 8},
+	static constexpr PointI FORMAT_INFO_COORDS[] = {{0, 8}, {1, 8}, {2, 8}, {3, 8}, {4, 8}, {5, 8}, {6, 8}, {7, 8}, {8, 8},
 											 {8, 7}, {8, 6}, {8, 5}, {8, 4}, {8, 3}, {8, 2}, {8, 1}, {8, 0}};
 
 	FormatInformation bestFI;