diff options
author | Henning Baldersheim <balder@oath.com> | 2018-05-30 22:51:47 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@oath.com> | 2018-05-31 13:49:12 +0200 |
commit | 343ece39072d3132885922b132dc57dcbebe3881 (patch) | |
tree | 5965f0edff3ece74c62391424fd055d640c98ecf /document | |
parent | 51d9070a1184af82b85dafb6c8f2dd6d6b635c2e (diff) |
GC unused code
Diffstat (limited to 'document')
-rw-r--r-- | document/src/vespa/document/update/documentupdate.cpp | 10 | ||||
-rw-r--r-- | document/src/vespa/document/update/documentupdate.h | 8 |
2 files changed, 0 insertions, 18 deletions
diff --git a/document/src/vespa/document/update/documentupdate.cpp b/document/src/vespa/document/update/documentupdate.cpp index a5e25afbcb3..a3cc2a95155 100644 --- a/document/src/vespa/document/update/documentupdate.cpp +++ b/document/src/vespa/document/update/documentupdate.cpp @@ -24,16 +24,6 @@ namespace document { // Declare content bits. static const unsigned char CONTENT_HASTYPE = 0x01; -DocumentUpdate::DocumentUpdate() - : _documentId("doc::"), - _type(DataType::DOCUMENT), - _updates(), - _fieldPathUpdates(), - _version(Document::getNewestSerializationVersion()), - _createIfNonExistent(false) -{ -} - DocumentUpdate::DocumentUpdate(const DataType &type, const DocumentId& id) : _documentId(id), _type(&type), diff --git a/document/src/vespa/document/update/documentupdate.h b/document/src/vespa/document/update/documentupdate.h index 839847ed175..a1c6e855bfd 100644 --- a/document/src/vespa/document/update/documentupdate.h +++ b/document/src/vespa/document/update/documentupdate.h @@ -163,14 +163,6 @@ private: int16_t _version; // Serialization version bool _createIfNonExistent; - /** - * This function exist because search relies on deserialization through - * creating object through empty constructor and calling deserialize. - * - * It is hidden to prevent accidental other usage. - */ - DocumentUpdate(); - int deserializeFlags(int sizeAndFlags); }; |