diff options
author | Henning Baldersheim <balder@yahoo-inc.com> | 2017-08-21 23:20:49 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@yahoo-inc.com> | 2017-08-21 23:20:49 +0200 |
commit | 424ff096f72df81fa193db922153ccf28a763bf5 (patch) | |
tree | 39911d397c65cd58127ce1ae42b415eeb5e880fa /searchlib/src/apps | |
parent | 9a64ce6b1b973bed38d304b2be8330e27b849dee (diff) |
Drop the dangerous LinkedPtr.
Diffstat (limited to 'searchlib/src/apps')
-rw-r--r-- | searchlib/src/apps/tests/memoryindexstress_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchlib/src/apps/tests/memoryindexstress_test.cpp b/searchlib/src/apps/tests/memoryindexstress_test.cpp index d3534e28d72..837952061c8 100644 --- a/searchlib/src/apps/tests/memoryindexstress_test.cpp +++ b/searchlib/src/apps/tests/memoryindexstress_test.cpp @@ -93,7 +93,7 @@ bool isWordChar(char c) { void tokenizeStringFieldValue(const document::FixedTypeRepo & repo, StringFieldValue &field) { - document::SpanTree::UP spanTree; // Note: Not thread safe, is linkedptr + document::SpanTree::UP spanTree; SpanList::UP spanList(std::make_unique<SpanList>()); SpanList *spans = spanList.get(); spanTree.reset(new document::SpanTree(SPANTREE_NAME, std::move(spanList))); |