diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2020-01-14 14:56:03 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2020-01-14 14:56:03 +0000 |
commit | 80835efd5c385b6f8e19212a7c032e57af1fd73d (patch) | |
tree | 8dc193f8ef1db5ac6f41d3b3266c8f87dc06cfd7 /persistence | |
parent | a772cb05a682fd05fabd0d571417ec7976d0165d (diff) |
Remove virtuality of DocumentId.
Diffstat (limited to 'persistence')
-rw-r--r-- | persistence/src/vespa/persistence/spi/docentry.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/persistence/src/vespa/persistence/spi/docentry.cpp b/persistence/src/vespa/persistence/spi/docentry.cpp index 8ddbe6d9a9d..4c2707f3a5e 100644 --- a/persistence/src/vespa/persistence/spi/docentry.cpp +++ b/persistence/src/vespa/persistence/spi/docentry.cpp @@ -90,9 +90,9 @@ DocEntry::toString() const std::ostringstream out; out << "DocEntry(" << _timestamp << ", " << _metaFlags << ", "; if (_documentId.get() != 0) { - out << *_documentId; + out << _documentId->toString(); } else if (_document.get()) { - out << "Doc(" << _document->getId() << ")"; + out << "Doc(" << _document->getId().toString() << ")"; } else { out << "metadata only"; } @@ -111,9 +111,9 @@ DocEntry::prettyPrint(std::ostream& out) const out << "DocEntry(Timestamp: " << _timestamp << ", size " << getPersistedDocumentSize() << ", "; if (_documentId.get() != 0) { - out << *_documentId; + out << _documentId->toString(); } else if (_document.get()) { - out << "Doc(" << _document->getId() << ")"; + out << "Doc(" << _document->getId().toString() << ")"; } else { out << "metadata only"; } |