From 5071995ab71bf1499f602271c5d132c80fd7538e Mon Sep 17 00:00:00 2001 From: Project Nayuki Date: Mon, 17 Apr 2017 02:01:32 +0000 Subject: [PATCH] Replaced '>>' with '> >' in C++ code using templates, for robustness in parsing. --- cpp/QrCode.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cpp/QrCode.cpp b/cpp/QrCode.cpp index ef37674..7180351 100644 --- a/cpp/QrCode.cpp +++ b/cpp/QrCode.cpp @@ -312,7 +312,7 @@ std::vector qrcodegen::QrCode::appendErrorCorrection(const std::vector< int shortBlockLen = getNumRawDataModules(version) / 8 / numBlocks; // Split data into blocks and append ECC to each block - std::vector> blocks; + std::vector > blocks; const ReedSolomonGenerator rs(blockEccLen); for (int i = 0, k = 0; i < numBlocks; i++) { std::vector dat;