summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-02-22 11:55:14 +0100
committerGitHub <noreply@github.com>2021-02-22 11:55:14 +0100
commit6a81c9802ce151c9a7ec47234a7f34bd7c1c6a56 (patch)
tree59a6026e86839b391675df9757221a924c364dc4
parent1b0e13708233e6ca4d94cb5238121b7ff9c3c91a (diff)
parent974e314ab77c90dcd7f44673232b107543af4232 (diff)
Merge pull request #16627 from vespa-engine/toregge/include-memory-and-typinfo-when-needed
Include memory and typeinfo when needed.
-rw-r--r--searchcore/src/vespa/searchcore/proton/attribute/attributedisklayout.h1
-rw-r--r--vespalib/src/vespa/vespalib/util/classname.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/searchcore/src/vespa/searchcore/proton/attribute/attributedisklayout.h b/searchcore/src/vespa/searchcore/proton/attribute/attributedisklayout.h
index 74cf0bb8cf8..16d74c6ea09 100644
--- a/searchcore/src/vespa/searchcore/proton/attribute/attributedisklayout.h
+++ b/searchcore/src/vespa/searchcore/proton/attribute/attributedisklayout.h
@@ -8,6 +8,7 @@
#include <shared_mutex>
#include <map>
#include <vector>
+#include <memory>
namespace proton {
diff --git a/vespalib/src/vespa/vespalib/util/classname.h b/vespalib/src/vespa/vespalib/util/classname.h
index 23dc3659fdd..d29d639a5b9 100644
--- a/vespalib/src/vespa/vespalib/util/classname.h
+++ b/vespalib/src/vespa/vespalib/util/classname.h
@@ -2,6 +2,7 @@
#pragma once
#include <vespa/vespalib/stllike/string.h>
+#include <typeinfo>
namespace vespalib {