summaryrefslogtreecommitdiffstats
path: root/searchlib
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@online.no>2022-07-06 14:27:12 +0200
committerTor Egge <Tor.Egge@online.no>2022-07-06 14:27:40 +0200
commit31b2c5a7dec779477f561e7307dfdc69265e26e7 (patch)
treeef414068141450cb6122a76c6b3581e818af63da /searchlib
parent65108e6e3f8831fd949d3ed70beacd8e781c142a (diff)
Include algorithm to get declarations of std::min and std::max.
Diffstat (limited to 'searchlib')
-rw-r--r--searchlib/src/vespa/searchlib/common/bitvector.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/searchlib/src/vespa/searchlib/common/bitvector.h b/searchlib/src/vespa/searchlib/common/bitvector.h
index 912c4a47c39..d3671d61ccf 100644
--- a/searchlib/src/vespa/searchlib/common/bitvector.h
+++ b/searchlib/src/vespa/searchlib/common/bitvector.h
@@ -7,6 +7,7 @@
#include <vespa/vespalib/util/alloc.h>
#include <vespa/vespalib/util/atomic.h>
#include <vespa/fastos/types.h>
+#include <algorithm>
namespace vespalib {
class nbostream;