diff options
Diffstat (limited to 'xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h')
-rw-r--r-- | xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h b/xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h index ff93264e00..6fc7509399 100644 --- a/xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h +++ b/xfa/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256Poly.h @@ -7,6 +7,8 @@ #ifndef XFA_FXBARCODE_COMMON_REEDSOLOMON_BC_REEDSOLOMONGF256POLY_H_ #define XFA_FXBARCODE_COMMON_REEDSOLOMON_BC_REEDSOLOMONGF256POLY_H_ +#include <vector> + #include "core/fxcrt/fx_basic.h" class CBC_ReedSolomonGF256; @@ -17,11 +19,11 @@ class CBC_ReedSolomonGF256Poly final { CBC_ReedSolomonGF256Poly(); ~CBC_ReedSolomonGF256Poly(); void Init(CBC_ReedSolomonGF256* field, - CFX_ArrayTemplate<int32_t>* coefficients, + std::vector<int32_t>* coefficients, int32_t& e); int32_t GetCoefficients(int32_t degree); - CFX_ArrayTemplate<int32_t>* GetCoefficients(); + std::vector<int32_t>* GetCoefficients(); int32_t GetDegree(); bool IsZero(); int32_t EvaluateAt(int32_t a); @@ -33,7 +35,7 @@ class CBC_ReedSolomonGF256Poly final { CBC_ReedSolomonGF256Poly* MultiplyByMonomial(int32_t degree, int32_t coefficient, int32_t& e); - CFX_ArrayTemplate<CBC_ReedSolomonGF256Poly*>* Divide( + std::vector<CBC_ReedSolomonGF256Poly*>* Divide( CBC_ReedSolomonGF256Poly* other, int32_t& e); @@ -41,7 +43,7 @@ class CBC_ReedSolomonGF256Poly final { private: CBC_ReedSolomonGF256* m_field; - CFX_ArrayTemplate<int32_t> m_coefficients; + std::vector<int32_t> m_coefficients; }; #endif // XFA_FXBARCODE_COMMON_REEDSOLOMON_BC_REEDSOLOMONGF256POLY_H_ |