From b2a40475ade2fe34a406472e53787bdac5a6950a Mon Sep 17 00:00:00 2001 From: Lei Zhang Date: Tue, 4 Apr 2017 16:15:13 -0700 Subject: Clean up QRCoderBitVector. Use std::vector and return booleans results when possible. Change-Id: If3ce4559f137fb449fd1ab818750558a1b5f8df0 Reviewed-on: https://pdfium-review.googlesource.com/3561 Commit-Queue: Lei Zhang Reviewed-by: Tom Sepez --- fxbarcode/common/BC_CommonByteArray.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fxbarcode/common/BC_CommonByteArray.h') diff --git a/fxbarcode/common/BC_CommonByteArray.h b/fxbarcode/common/BC_CommonByteArray.h index 84222ba25a..9270adcf42 100644 --- a/fxbarcode/common/BC_CommonByteArray.h +++ b/fxbarcode/common/BC_CommonByteArray.h @@ -26,7 +26,7 @@ class CBC_CommonByteArray { void Set(int32_t index, int32_t value); void AppendByte(int32_t value); void Reserve(int32_t capacity); - void Set(uint8_t* source, int32_t offset, int32_t count); + void Set(const uint8_t* source, int32_t offset, int32_t count); void Set(std::vector* source, int32_t offset, int32_t count); private: -- cgit v1.2.3