summaryrefslogtreecommitdiffstats
path: root/searchcore
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2019-12-06 13:54:36 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2019-12-06 13:54:36 +0000
commitc4aeb31ab5e5add3eda9af95259058a3a3868099 (patch)
treedaaf7baf4ca328ec79375c2f4557cea936aa82e9 /searchcore
parent0a208d8a839f14164cd1561e38cb21a270c64380 (diff)
Use std::move and remove unneeded constructor.
Diffstat (limited to 'searchcore')
-rw-r--r--searchcore/src/vespa/searchcore/proton/docsummary/summarymanager.cpp4
1 files changed, 2 insertions, 2 deletions
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));
}
}