diff --git a/src/zxing/zxing/oned/UPCEANReader.cpp b/src/zxing/zxing/oned/UPCEANReader.cpp index d8652f5..9fe2718 100644 --- a/src/zxing/zxing/oned/UPCEANReader.cpp +++ b/src/zxing/zxing/oned/UPCEANReader.cpp @@ -165,7 +165,10 @@ Ref UPCEANReader::decodeRow(int rowNumber, if (extensionResult) { decodeResult->getMetadata().put(ResultMetadata::UPC_EAN_EXTENSION, extensionResult->getText()->getText()); decodeResult->getMetadata().putAll(extensionResult->getMetadata()); - decodeResult->getResultPoints() << extensionResult->getResultPoints(); + + for (const Ref& resultPoint: extensionResult->getResultPoints()->values()) { + decodeResult->getResultPoints()->push_back(resultPoint); + } } } catch (NotFoundException const& /*nfe*/) { // continue