Fixed typing errors(Visual Studio type checker sucks)
This commit is contained in:
parent
67386adad2
commit
1275c47676
@ -1,6 +1,9 @@
|
|||||||
#include <iostream>
|
#include <iostream>
|
||||||
#include <locale>
|
#include <locale>
|
||||||
|
|
||||||
|
#if defined(WIN32) || defined(_WIN32) || defined(__WIN32) && !defined(__CYGWIN__)
|
||||||
#include <Windows.h>
|
#include <Windows.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
#include "../QRCodeLibrary/QRCode.hpp"
|
#include "../QRCodeLibrary/QRCode.hpp"
|
||||||
|
|
||||||
|
@ -56,9 +56,9 @@ private:
|
|||||||
BitArray e;
|
BitArray e;
|
||||||
};
|
};
|
||||||
|
|
||||||
template <typename T, unsigned N>
|
template <typename T, size_t N>
|
||||||
constexpr unsigned upper_index(const array<T, N> arr, T val) {
|
constexpr unsigned upper_index(const array<T, N> arr, T val) {
|
||||||
unsigned count = arr.size(), s = 0, e, step;
|
unsigned count = arr.size(), s = 0, e = 0, step = 0;
|
||||||
|
|
||||||
while (count > 0) {
|
while (count > 0) {
|
||||||
step = count / 2;
|
step = count / 2;
|
||||||
|
@ -1,5 +1,7 @@
|
|||||||
#include "pch.h"
|
#include "pch.h"
|
||||||
|
|
||||||
|
#include <algorithm>
|
||||||
|
|
||||||
#include "Method.hpp"
|
#include "Method.hpp"
|
||||||
#include "Tables.hpp"
|
#include "Tables.hpp"
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user