summaryrefslogtreecommitdiffstats
path: root/document
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2019-08-21 21:34:17 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2019-08-21 21:34:17 +0000
commite297f2f2f8b51abb4ffa02b58bcfc6ac4ca78747 (patch)
treedee5bb119b4b70362adbfa84356cba48cf9c3cff /document
parent661856ff8cc4e1e1a454bdd34b36463a4c42d20d (diff)
Remove 42 serialize code
Diffstat (limited to 'document')
-rw-r--r--document/src/tests/data/serializeupdatecpp.datbin213 -> 214 bytes
-rw-r--r--document/src/tests/documentupdatetestcase.cpp10
2 files changed, 0 insertions, 10 deletions
diff --git a/document/src/tests/data/serializeupdatecpp.dat b/document/src/tests/data/serializeupdatecpp.dat
index f972b505fb4..1a930773c09 100644
--- a/document/src/tests/data/serializeupdatecpp.dat
+++ b/document/src/tests/data/serializeupdatecpp.dat
Binary files differ
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;