aboutsummaryrefslogtreecommitdiffstats
path: root/vespalib
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2020-12-04 15:14:47 +0100
committerTor Egge <Tor.Egge@broadpark.no>2020-12-04 15:14:47 +0100
commit575fe37e9631e6c84ff79904f54e367af870c56a (patch)
tree4721e00e1de25a98461ac46ea7ccef4e5f04d095 /vespalib
parentb7955fafbd016819aab7e0934edff68b1dd22e47 (diff)
Add missing includes. Fix format string.
Diffstat (limited to 'vespalib')
-rw-r--r--vespalib/src/vespa/vespalib/stllike/hashtable.hpp1
-rw-r--r--vespalib/src/vespa/vespalib/util/shared_string_repo.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/vespalib/src/vespa/vespalib/stllike/hashtable.hpp b/vespalib/src/vespa/vespalib/stllike/hashtable.hpp
index e70a8b9a49e..b954169912a 100644
--- a/vespalib/src/vespa/vespalib/stllike/hashtable.hpp
+++ b/vespalib/src/vespa/vespalib/stllike/hashtable.hpp
@@ -3,6 +3,7 @@
#include "hashtable.h"
#include <vespa/vespalib/util/array.hpp>
+#include <algorithm>
namespace vespalib {
diff --git a/vespalib/src/vespa/vespalib/util/shared_string_repo.h b/vespalib/src/vespa/vespalib/util/shared_string_repo.h
index eabf103d442..1bdce9b47b4 100644
--- a/vespalib/src/vespa/vespalib/util/shared_string_repo.h
+++ b/vespalib/src/vespa/vespalib/util/shared_string_repo.h
@@ -8,6 +8,7 @@
#include <xxhash.h>
#include <mutex>
#include <vector>
+#include <array>
namespace vespalib {