summaryrefslogtreecommitdiff
path: root/fxbarcode/common/reedsolomon
diff options
context:
space:
mode:
authorTom Sepez <tsepez@chromium.org>2018-04-03 16:32:19 +0000
committerChromium commit bot <commit-bot@chromium.org>2018-04-03 16:32:19 +0000
commit232b918d1f0faec230652f4097b834257a7dbb27 (patch)
treec13213ab3d70cc147a6ea59b0f090a51beecae8f /fxbarcode/common/reedsolomon
parent36d7ad4a24287b562e1d88fcde635e36a167bfe3 (diff)
downloadpdfium-232b918d1f0faec230652f4097b834257a7dbb27.tar.xz
Re-arrange so inline vectors come last in structs.
This might make the memory tools more effective in finding OOBs. Change-Id: Id093bb0a88c37954c80d612ac00b5a168e75bdbf Reviewed-on: https://pdfium-review.googlesource.com/29550 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Tom Sepez <tsepez@chromium.org>
Diffstat (limited to 'fxbarcode/common/reedsolomon')
-rw-r--r--fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h b/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h
index 693d943042..9f0fcd316f 100644
--- a/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h
+++ b/fxbarcode/common/reedsolomon/BC_ReedSolomonGF256.h
@@ -37,10 +37,10 @@ class CBC_ReedSolomonGF256 {
static CBC_ReedSolomonGF256* DataMatrixField;
private:
- int32_t m_expTable[256];
- int32_t m_logTable[256];
std::unique_ptr<CBC_ReedSolomonGF256Poly> m_zero;
std::unique_ptr<CBC_ReedSolomonGF256Poly> m_one;
+ int32_t m_expTable[256];
+ int32_t m_logTable[256];
};
#endif // FXBARCODE_COMMON_REEDSOLOMON_BC_REEDSOLOMONGF256_H_