mirror of
https://github.com/starovoid/rxing.git
synced 2026-07-26 20:32:34 +00:00
qr_code_multi_reader ported
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
* limitations under the License.
|
||||
*/
|
||||
|
||||
use std::collections::HashMap;
|
||||
use std::{collections::HashMap, rc::Rc};
|
||||
|
||||
/**
|
||||
* <p>The main class which implements QR Code decoding -- as opposed to locating and extracting
|
||||
@@ -115,7 +115,7 @@ pub fn decode_bitmatrix_with_hints(
|
||||
let mut result = decode_bitmatrix_parser_with_hints(&mut parser, hints)?;
|
||||
|
||||
// Success! Notify the caller that the code was mirrored.
|
||||
result.setOther(Box::new(QRCodeDecoderMetaData::new(true)));
|
||||
result.setOther(Rc::new(QRCodeDecoderMetaData::new(true)));
|
||||
|
||||
Ok(result)
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user