aboutsummaryrefslogtreecommitdiffstats
path: root/searchlib/src/tests/attribute/benchmark
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-02-25 18:08:14 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2021-02-25 18:08:14 +0000
commitf72e7fa7b66456b78c7c1e13cb51b1d22374c653 (patch)
tree63924567861411a17d558deb9d7b3beb503b66bf /searchlib/src/tests/attribute/benchmark
parentbf3352cec3ce4d40216f76922fca7399c9da1ebd (diff)
Remove includes no longer necessary.
Diffstat (limited to 'searchlib/src/tests/attribute/benchmark')
-rw-r--r--searchlib/src/tests/attribute/benchmark/attributebenchmark.cpp11
1 files changed, 3 insertions, 8 deletions
diff --git a/searchlib/src/tests/attribute/benchmark/attributebenchmark.cpp b/searchlib/src/tests/attribute/benchmark/attributebenchmark.cpp
index eef0274f50a..fc87e07a4e9 100644
--- a/searchlib/src/tests/attribute/benchmark/attributebenchmark.cpp
+++ b/searchlib/src/tests/attribute/benchmark/attributebenchmark.cpp
@@ -4,12 +4,6 @@
#include <vespa/searchlib/attribute/attribute.h>
#include <vespa/searchlib/attribute/attributeguard.h>
#include <vespa/searchlib/attribute/attributefactory.h>
-#include <vespa/searchlib/attribute/singlenumericattribute.h>
-#include <vespa/searchlib/attribute/multinumericattribute.h>
-#include <vespa/searchlib/attribute/singlestringattribute.h>
-#include <vespa/searchlib/attribute/multistringattribute.h>
-#include <vespa/searchlib/attribute/attrvector.h>
-#include <vespa/searchlib/attribute/attributevector.hpp>
#include <vespa/fastos/thread.h>
#include <vespa/fastos/app.h>
#include <iostream>
@@ -25,14 +19,15 @@ using std::shared_ptr;
typedef std::vector<uint32_t> NumVector;
typedef std::vector<vespalib::string> StringVector;
-typedef AttributeVector::SP AttributePtr;
-typedef AttributeVector::DocId DocId;
typedef search::attribute::Config AttrConfig;
using search::attribute::BasicType;
using search::attribute::CollectionType;
namespace search {
+using AttributePtr = AttributeVector::SP;
+using DocId = AttributeVector::DocId;
+
class AttributeBenchmark : public FastOS_Application
{
private: