Switched from string to vector of unsigned chars as input

This commit is contained in:
2021-12-26 07:58:44 +03:00
parent d9f9a26bde
commit 562df68c92
12 changed files with 47 additions and 37 deletions

View File

@@ -64,7 +64,7 @@ int main() {
input = cp1251_to_utf8(input.c_str());
#endif
QRCode qr(input);
QRCode qr(input, CorrectionLevel::H);
const auto& res = qr.to_vector();