diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2022-03-29 13:51:55 +0000 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2022-03-29 13:51:55 +0000 |
commit | 11f15ddddb70427d1b571d76ca6ef734a1f15a0f (patch) | |
tree | 8a65f6fe9c47acefce648e5cdd1a91cfa832c569 /document/src/tests/documentselectparsertest.cpp | |
parent | 1cd2c6a3ba9e392c00b91bfe3cf1215a80c6679f (diff) |
Minor simplifications after PR feedback.
Diffstat (limited to 'document/src/tests/documentselectparsertest.cpp')
-rw-r--r-- | document/src/tests/documentselectparsertest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/document/src/tests/documentselectparsertest.cpp b/document/src/tests/documentselectparsertest.cpp index 70ebd9bd7a2..6644fec2da0 100644 --- a/document/src/tests/documentselectparsertest.cpp +++ b/document/src/tests/documentselectparsertest.cpp @@ -141,7 +141,7 @@ DocumentUpdate::SP DocumentSelectParserTest::createUpdate( doc->addUpdate(FieldUpdate(doc->getType().getField("headerval")) .addUpdate(std::make_unique<AssignValueUpdate>(std::make_unique<IntFieldValue>(hint)))); doc->addUpdate(FieldUpdate(doc->getType().getField("hstringval")) - .addUpdate(std::make_unique<AssignValueUpdate>(std::make_unique<StringFieldValue>(hstr)))); + .addUpdate(std::make_unique<AssignValueUpdate>(StringFieldValue::make(hstr)))); return doc; } |