summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2023-03-14 08:22:48 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2023-03-14 08:22:48 +0000
commit6b105cae53bbfef618e987b6b0ef313fe9bb1b79 (patch)
tree4a7c4abb747c3995dddb3a85950bb9e5b08fbd3c
parent2d43e1378265d1d8ca8d9fcdfd97e897a806ec38 (diff)
GC unused includes
-rw-r--r--searchlib/src/vespa/searchlib/attribute/enumstore.h1
-rw-r--r--searchlib/src/vespa/searchlib/fef/rank_program.h1
-rw-r--r--searchlib/src/vespa/searchlib/queryeval/wand/wand_parts.h1
-rw-r--r--searchlib/src/vespa/searchlib/util/fileutil.h8
-rw-r--r--vespalib/src/vespa/vespalib/datastore/bufferstate.h1
5 files changed, 4 insertions, 8 deletions
diff --git a/searchlib/src/vespa/searchlib/attribute/enumstore.h b/searchlib/src/vespa/searchlib/attribute/enumstore.h
index 59524f3788a..266437fafa1 100644
--- a/searchlib/src/vespa/searchlib/attribute/enumstore.h
+++ b/searchlib/src/vespa/searchlib/attribute/enumstore.h
@@ -16,7 +16,6 @@
#include <vespa/vespalib/datastore/unique_store.h>
#include <vespa/vespalib/datastore/unique_store_string_allocator.h>
#include <vespa/vespalib/util/buffer.h>
-#include <vespa/vespalib/util/array.h>
#include <vespa/vespalib/stllike/allocator.h>
#include <vespa/vespalib/util/stringfmt.h>
#include <cmath>
diff --git a/searchlib/src/vespa/searchlib/fef/rank_program.h b/searchlib/src/vespa/searchlib/fef/rank_program.h
index e988aad665d..a67f0495b8c 100644
--- a/searchlib/src/vespa/searchlib/fef/rank_program.h
+++ b/searchlib/src/vespa/searchlib/fef/rank_program.h
@@ -8,7 +8,6 @@
#include "matchdata.h"
#include "feature_resolver.h"
#include <vespa/vespalib/stllike/string.h>
-#include <vespa/vespalib/util/array.h>
#include <vespa/vespalib/util/stash.h>
#include <vespa/vespalib/stllike/hash_set.h>
diff --git a/searchlib/src/vespa/searchlib/queryeval/wand/wand_parts.h b/searchlib/src/vespa/searchlib/queryeval/wand/wand_parts.h
index e2f0a78fb52..b0be4e9db5e 100644
--- a/searchlib/src/vespa/searchlib/queryeval/wand/wand_parts.h
+++ b/searchlib/src/vespa/searchlib/queryeval/wand/wand_parts.h
@@ -10,7 +10,6 @@
#include <vespa/searchlib/queryeval/iterator_pack.h>
#include <vespa/searchlib/attribute/iterator_pack.h>
#include <vespa/vespalib/objects/objectvisitor.h>
-#include <vespa/vespalib/util/array.h>
#include <vespa/vespalib/util/priority_queue.h>
#include <vespa/searchlib/attribute/i_document_weight_attribute.h>
#include <vespa/vespalib/util/stringfmt.h>
diff --git a/searchlib/src/vespa/searchlib/util/fileutil.h b/searchlib/src/vespa/searchlib/util/fileutil.h
index e2f7e1a25c0..97bec4e1bba 100644
--- a/searchlib/src/vespa/searchlib/util/fileutil.h
+++ b/searchlib/src/vespa/searchlib/util/fileutil.h
@@ -22,10 +22,10 @@ public:
LoadedBuffer & operator =(const LoadedBuffer & rhs) = delete;
using UP = std::unique_ptr<LoadedBuffer>;
- LoadedBuffer(void * buf, size_t sz)
- : _buffer(buf),
- _size(sz),
- _header(nullptr)
+ LoadedBuffer(void * buf, size_t sz) noexcept
+ : _buffer(buf),
+ _size(sz),
+ _header(nullptr)
{ }
virtual ~LoadedBuffer() = default;
diff --git a/vespalib/src/vespa/vespalib/datastore/bufferstate.h b/vespalib/src/vespa/vespalib/datastore/bufferstate.h
index c3e6110cc52..5b98099ed69 100644
--- a/vespalib/src/vespa/vespalib/datastore/bufferstate.h
+++ b/vespalib/src/vespa/vespalib/datastore/bufferstate.h
@@ -8,7 +8,6 @@
#include "entryref.h"
#include <vespa/vespalib/util/generationhandler.h>
#include <vespa/vespalib/util/alloc.h>
-#include <vespa/vespalib/util/array.h>
namespace vespalib::datastore {