summaryrefslogtreecommitdiffstats
path: root/searchcore/src/tests/proton/matching/unpacking_iterators_optimizer/unpacking_iterators_optimizer_test.cpp
diff options
context:
space:
mode:
authorArne Juul <arnej@verizonmedia.com>2021-02-15 13:55:04 +0000
committerArne Juul <arnej@verizonmedia.com>2021-02-15 14:16:21 +0000
commitaf9d59c3fece374c5fe61575c67ad49ac5f84bb4 (patch)
treea1851a855e22e406f877bfb405e192232ec1e137 /searchcore/src/tests/proton/matching/unpacking_iterators_optimizer/unpacking_iterators_optimizer_test.cpp
parent805a313df05d2f347af321511527e06ea3cae92c (diff)
use size literals in searchcore
Diffstat (limited to 'searchcore/src/tests/proton/matching/unpacking_iterators_optimizer/unpacking_iterators_optimizer_test.cpp')
-rw-r--r--searchcore/src/tests/proton/matching/unpacking_iterators_optimizer/unpacking_iterators_optimizer_test.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/searchcore/src/tests/proton/matching/unpacking_iterators_optimizer/unpacking_iterators_optimizer_test.cpp b/searchcore/src/tests/proton/matching/unpacking_iterators_optimizer/unpacking_iterators_optimizer_test.cpp
index 9ecbd532389..f81d28fc3c1 100644
--- a/searchcore/src/tests/proton/matching/unpacking_iterators_optimizer/unpacking_iterators_optimizer_test.cpp
+++ b/searchcore/src/tests/proton/matching/unpacking_iterators_optimizer/unpacking_iterators_optimizer_test.cpp
@@ -6,6 +6,7 @@
#include <vespa/searchlib/query/tree/querybuilder.h>
#include <vespa/vespalib/data/smart_buffer.h>
#include <vespa/vespalib/data/output_writer.h>
+#include <vespa/vespalib/util/size_literals.h>
#include <string>
using namespace proton::matching;
@@ -69,7 +70,7 @@ struct DumpQuery : QueryVisitor {
};
std::string dump_query(Node &root) {
- SmartBuffer buffer(4096);
+ SmartBuffer buffer(4_Ki);
{
OutputWriter writer(buffer, 1024);
DumpQuery dumper(writer, 0);