diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-01-20 11:48:51 +0100 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-01-20 11:50:04 +0100 |
commit | d23d661d8868677218f33dfe7e9b01f5de65d6f8 (patch) | |
tree | ada91c7f283c2491b7c62b1b2de195cc13846586 /persistencetypes | |
parent | d11e6f1df4a59142ce1866f44f1b158b5bd6fba0 (diff) |
Clean up a very dangerous interface to prevent potential misuse.
Diffstat (limited to 'persistencetypes')
-rw-r--r-- | persistencetypes/src/persistence/spi/types.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/persistencetypes/src/persistence/spi/types.h b/persistencetypes/src/persistence/spi/types.h index 5f93935dc2b..d88fc5eb5ae 100644 --- a/persistencetypes/src/persistence/spi/types.h +++ b/persistencetypes/src/persistence/spi/types.h @@ -95,10 +95,10 @@ using DocumentId = document::DocumentId; using GlobalId = document::GlobalId; using TimestampList = std::vector<Timestamp>; using string = vespalib::string; -using DocumentUP = std::unique_ptr<Document>; -using DocumentIdUP = std::unique_ptr<DocumentId>; -using DocumentSP = std::shared_ptr<Document>; -using DocumentUpdateSP = std::shared_ptr<DocumentUpdate>; +using DocumentUP = std::unique_ptr<document::Document>; +using DocumentIdUP = std::unique_ptr<document::DocumentId>; +using DocumentSP = std::shared_ptr<document::Document>; +using DocumentUpdateSP = std::shared_ptr<document::DocumentUpdate>; enum IncludedVersions { NEWEST_DOCUMENT_ONLY, |