summaryrefslogtreecommitdiffstats
path: root/searchcore/src/vespa/searchcore/proton/feedoperation/updateoperation.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchcore/src/vespa/searchcore/proton/feedoperation/updateoperation.cpp')
-rw-r--r--searchcore/src/vespa/searchcore/proton/feedoperation/updateoperation.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/feedoperation/updateoperation.cpp b/searchcore/src/vespa/searchcore/proton/feedoperation/updateoperation.cpp
index c7c28a5bdc9..fe95df9c1c2 100644
--- a/searchcore/src/vespa/searchcore/proton/feedoperation/updateoperation.cpp
+++ b/searchcore/src/vespa/searchcore/proton/feedoperation/updateoperation.cpp
@@ -12,7 +12,6 @@ using document::BucketId;
using document::DocumentType;
using document::DocumentTypeRepo;
using document::DocumentUpdate;
-using storage::spi::Timestamp;
using vespalib::make_string;
namespace proton {
@@ -30,14 +29,14 @@ UpdateOperation::UpdateOperation(Type type)
UpdateOperation::UpdateOperation(Type type, const BucketId &bucketId,
- const Timestamp &timestamp, DocumentUpdate::SP upd)
+ Timestamp timestamp, DocumentUpdate::SP upd)
: DocumentOperation(type, bucketId, timestamp),
_upd(std::move(upd))
{
}
-UpdateOperation::UpdateOperation(const BucketId &bucketId, const Timestamp &timestamp, DocumentUpdate::SP upd)
+UpdateOperation::UpdateOperation(const BucketId &bucketId, Timestamp timestamp, DocumentUpdate::SP upd)
: UpdateOperation(FeedOperation::UPDATE, bucketId, timestamp, std::move(upd))
{
}