diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2020-01-27 20:51:02 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2020-01-28 10:42:13 +0000 |
commit | eaadbb55865ed7e4a8d7435368152a6c83a7718c (patch) | |
tree | c862fb9a7db27f239e128f9d861be504701b0a4e /document/src/vespa/document/util/bytebuffer.cpp | |
parent | 449bb1c1ee96d24c1bb95664700c98963a12a98e (diff) |
Inline
Diffstat (limited to 'document/src/vespa/document/util/bytebuffer.cpp')
-rw-r--r-- | document/src/vespa/document/util/bytebuffer.cpp | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/document/src/vespa/document/util/bytebuffer.cpp b/document/src/vespa/document/util/bytebuffer.cpp index bc7e726cb06..644edb0664d 100644 --- a/document/src/vespa/document/util/bytebuffer.cpp +++ b/document/src/vespa/document/util/bytebuffer.cpp @@ -61,14 +61,6 @@ BufferOutOfBoundsException::BufferOutOfBoundsException(size_t pos, size_t len, c { } -ByteBuffer::ByteBuffer(const char* buffer, uint32_t len) : - _buffer(const_cast<char *>(buffer)), - _len(len), - _pos(0), - _ownedBuffer() -{ -} - ByteBuffer::ByteBuffer(Alloc buffer, uint32_t len) : _buffer(static_cast<const char *>(buffer.get())), _len(len), @@ -99,8 +91,6 @@ ByteBuffer::ByteBuffer(const ByteBuffer& rhs) } } -ByteBuffer::~ByteBuffer() = default; - ByteBuffer ByteBuffer::copyBuffer(const char* buffer, uint32_t len) { |