aboutsummaryrefslogtreecommitdiffstats
path: root/metrics
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@yahoo-inc.com>2021-02-21 21:59:31 +0000
committerHenning Baldersheim <balder@yahoo-inc.com>2021-02-21 21:59:31 +0000
commita17a14c9a1a3f683442f3d5ce74bc55767a48d4c (patch)
tree490b8765f5de5ef20490e8d7afb8a281e932be89 /metrics
parenteaaeaf82d016ed8edd081bc63faafaa756aa35fe (diff)
string.h does not need alloc.h
Diffstat (limited to 'metrics')
-rw-r--r--metrics/src/vespa/metrics/memoryconsumption.h1
-rw-r--r--metrics/src/vespa/metrics/metric.h3
2 files changed, 3 insertions, 1 deletions
diff --git a/metrics/src/vespa/metrics/memoryconsumption.h b/metrics/src/vespa/metrics/memoryconsumption.h
index 9b2e0ec0254..da76819ef27 100644
--- a/metrics/src/vespa/metrics/memoryconsumption.h
+++ b/metrics/src/vespa/metrics/memoryconsumption.h
@@ -18,6 +18,7 @@
#pragma once
#include <vespa/vespalib/util/printable.h>
+#include <memory>
namespace metrics {
diff --git a/metrics/src/vespa/metrics/metric.h b/metrics/src/vespa/metrics/metric.h
index dbbe0f09eb8..f254ec34074 100644
--- a/metrics/src/vespa/metrics/metric.h
+++ b/metrics/src/vespa/metrics/metric.h
@@ -1,9 +1,10 @@
// Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root.
#pragma once
+#include "name_repo.h"
#include <vespa/vespalib/util/printable.h>
#include <vespa/vespalib/stllike/string.h>
-#include "name_repo.h"
+#include <memory>
namespace metrics {