summaryrefslogtreecommitdiffstats
path: root/searchsummary
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2022-03-07 13:12:50 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2022-03-07 13:34:23 +0000
commit4d47dde39b5d741561dc11832427a2c73eeb941e (patch)
tree56681f3d5a1326462a03cf13993fee098ec7d739 /searchsummary
parentc84242e30dd34656fe79e5a6c539d3e5fcc3fd38 (diff)
Use XXFieldValue::make over std::make_unique
Diffstat (limited to 'searchsummary')
-rw-r--r--searchsummary/src/vespa/searchsummary/docsummary/summaryfieldconverter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/searchsummary/src/vespa/searchsummary/docsummary/summaryfieldconverter.cpp b/searchsummary/src/vespa/searchsummary/docsummary/summaryfieldconverter.cpp
index 597cfe8eb40..487fb9e329f 100644
--- a/searchsummary/src/vespa/searchsummary/docsummary/summaryfieldconverter.cpp
+++ b/searchsummary/src/vespa/searchsummary/docsummary/summaryfieldconverter.cpp
@@ -322,7 +322,7 @@ public:
if (_field_value.get()) {
return std::move(_field_value);
}
- return std::make_unique<StringFieldValue>(_str.str());
+ return StringFieldValue::make(_str.str());
}
};