diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2019-08-21 21:34:17 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2019-08-21 21:34:17 +0000 |
commit | e297f2f2f8b51abb4ffa02b58bcfc6ac4ca78747 (patch) | |
tree | dee5bb119b4b70362adbfa84356cba48cf9c3cff /document | |
parent | 661856ff8cc4e1e1a454bdd34b36463a4c42d20d (diff) |
Remove 42 serialize code
Diffstat (limited to 'document')
-rw-r--r-- | document/src/tests/data/serializeupdatecpp.dat | bin | 213 -> 214 bytes | |||
-rw-r--r-- | document/src/tests/documentupdatetestcase.cpp | 10 |
2 files changed, 0 insertions, 10 deletions
diff --git a/document/src/tests/data/serializeupdatecpp.dat b/document/src/tests/data/serializeupdatecpp.dat Binary files differindex f972b505fb4..1a930773c09 100644 --- a/document/src/tests/data/serializeupdatecpp.dat +++ b/document/src/tests/data/serializeupdatecpp.dat diff --git a/document/src/tests/documentupdatetestcase.cpp b/document/src/tests/documentupdatetestcase.cpp index 031cf1e400a..9ffe30c1080 100644 --- a/document/src/tests/documentupdatetestcase.cpp +++ b/document/src/tests/documentupdatetestcase.cpp @@ -53,16 +53,6 @@ ByteBuffer::UP serializeHEAD(const DocumentUpdate & update) return retVal; } -ByteBuffer::UP serialize42(const DocumentUpdate & update) -{ - nbostream stream; - VespaDocumentSerializer serializer(stream); - serializer.write42(update); - ByteBuffer::UP retVal(new ByteBuffer(stream.size())); - retVal->putBytes(stream.peek(), stream.size()); - return retVal; -} - nbostream serialize(const ValueUpdate & update) { nbostream stream; |