From c4aeb31ab5e5add3eda9af95259058a3a3868099 Mon Sep 17 00:00:00 2001 From: Henning Baldersheim Date: Fri, 6 Dec 2019 13:54:36 +0000 Subject: Use std::move and remove unneeded constructor. --- searchcore/src/vespa/searchcore/proton/docsummary/summarymanager.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'searchcore') diff --git a/searchcore/src/vespa/searchcore/proton/docsummary/summarymanager.cpp b/searchcore/src/vespa/searchcore/proton/docsummary/summarymanager.cpp index 444a14db81c..6165e94715c 100644 --- a/searchcore/src/vespa/searchcore/proton/docsummary/summarymanager.cpp +++ b/searchcore/src/vespa/searchcore/proton/docsummary/summarymanager.cpp @@ -194,9 +194,9 @@ createShrinkLidSpaceFlushTarget(searchcorespi::index::IThreadService & summarySe IFlushTarget::Type::GC, IFlushTarget::Component::DOCUMENT_STORE, docStore->lastSyncToken(), - vespalib::system_time(docStore->getLastFlushTime()), + docStore->getLastFlushTime(), summaryService, - docStore); + std::move(docStore)); } } -- cgit v1.2.3