diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2020-01-20 16:24:24 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2020-01-20 16:24:24 +0000 |
commit | 543360cbd31917ab0ba71bed0e89ee7b4b1b359c (patch) | |
tree | 7f10a5925b4d52dcb2f29fa478d329c2a778b693 /document | |
parent | 1f9cb926b91659840e687f9cab0f508522d58690 (diff) |
Make length const.
Diffstat (limited to 'document')
-rw-r--r-- | document/src/vespa/document/util/bytebuffer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/document/src/vespa/document/util/bytebuffer.h b/document/src/vespa/document/util/bytebuffer.h index bb11f009cc6..8f6955966f4 100644 --- a/document/src/vespa/document/util/bytebuffer.h +++ b/document/src/vespa/document/util/bytebuffer.h @@ -125,7 +125,7 @@ private: void incPosNoCheck(size_t pos) { _pos += pos; } const char * _buffer; - size_t _len; + const size_t _len; size_t _pos; vespalib::alloc::Alloc _ownedBuffer; }; |