summaryrefslogtreecommitdiffstats
path: root/storage
diff options
context:
space:
mode:
authorTor Brede Vekterli <vekterli@yahooinc.com>2022-03-24 14:44:39 +0100
committerGitHub <noreply@github.com>2022-03-24 14:44:39 +0100
commitb05068ec3bce60ddde43474d400db00a75f4f16c (patch)
tree5bfb6975feff9da21ae6b9d2bedf04ebc3baa0a0 /storage
parenta905bb7584c4057f59cf77a354492b140cac1a77 (diff)
Revert "Use vespalib::string in TestAndSetCondition"
Diffstat (limited to 'storage')
-rw-r--r--storage/src/vespa/storage/distributor/externaloperationhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/storage/src/vespa/storage/distributor/externaloperationhandler.cpp b/storage/src/vespa/storage/distributor/externaloperationhandler.cpp
index 3f3924df229..90906e2bdf1 100644
--- a/storage/src/vespa/storage/distributor/externaloperationhandler.cpp
+++ b/storage/src/vespa/storage/distributor/externaloperationhandler.cpp
@@ -282,7 +282,7 @@ bool put_is_from_reindexing_visitor(const api::PutCommand& cmd) {
// Precondition: put_is_from_reindexing_visitor(cmd) == true
std::string extract_reindexing_token(const api::PutCommand& cmd) {
- const auto& tas_str = cmd.getCondition().getSelection();
+ const std::string& tas_str = cmd.getCondition().getSelection();
auto eq_idx = tas_str.find_first_of('=');
if (eq_idx != std::string::npos) {
return tas_str.substr(eq_idx + 1);