diff options
author | 2014-08-19 02:47:38 +0000 | |
---|---|---|
committer | 2014-08-16 04:15:21 +0000 | |
commit | bfcd5efd50d3ea14fa7da9721dcea08532d99ea4 (patch) | |
tree | 4e34f9c2f1ba3f4f2993b5b28457523c67463c2c /native/jni/src/utils/byte_array_view.h | |
parent | 8adf5e8a70a9153094d1e51587c91a96d7c5888f (diff) | |
parent | 1f6e52ef029e7807b6998d397556fac30b2b7ff4 (diff) | |
download | latinime-bfcd5efd50d3ea14fa7da9721dcea08532d99ea4.tar.gz latinime-bfcd5efd50d3ea14fa7da9721dcea08532d99ea4.tar.xz latinime-bfcd5efd50d3ea14fa7da9721dcea08532d99ea4.zip |
Merge "Use byte array view in ver4 dict contents."
Diffstat (limited to 'native/jni/src/utils/byte_array_view.h')
-rw-r--r-- | native/jni/src/utils/byte_array_view.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/native/jni/src/utils/byte_array_view.h b/native/jni/src/utils/byte_array_view.h index 2c97c6d58..10d7ae278 100644 --- a/native/jni/src/utils/byte_array_view.h +++ b/native/jni/src/utils/byte_array_view.h @@ -77,10 +77,12 @@ class ReadWriteByteArrayView { } private: - DISALLOW_ASSIGNMENT_OPERATOR(ReadWriteByteArrayView); + // Default copy constructor and assignment operator are used for using this class with STL + // containers. - uint8_t *const mPtr; - const size_t mSize; + // These members cannot be const to have the assignment operator. + uint8_t *mPtr; + size_t mSize; }; } // namespace latinime |