diff options
Diffstat (limited to 'staging_vespalib/src/vespa/vespalib/metrics/metric_point_id.h')
-rw-r--r-- | staging_vespalib/src/vespa/vespalib/metrics/metric_point_id.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/staging_vespalib/src/vespa/vespalib/metrics/metric_point_id.h b/staging_vespalib/src/vespa/vespalib/metrics/metric_point_id.h index 9a709bfb9a6..f9d788a0f92 100644 --- a/staging_vespalib/src/vespa/vespalib/metrics/metric_point_id.h +++ b/staging_vespalib/src/vespa/vespalib/metrics/metric_point_id.h @@ -1,7 +1,7 @@ // Copyright 2017 Yahoo Holdings. Licensed under the terms of the Apache 2.0 license. See LICENSE in the project root. #pragma once -#include "metric_name.h" +#include "metric_id.h" #include "point.h" #include <functional> @@ -10,12 +10,12 @@ namespace metrics { /** class to use as a map key, identifying a metric and a point */ struct MetricPointId { - const MetricName _name; + const MetricId _name; const Point _point; MetricPointId() = delete; - MetricPointId(MetricName name, Point point) + MetricPointId(MetricId name, Point point) : _name(name), _point(point) {} bool operator< (const MetricPointId &other) const { @@ -29,7 +29,7 @@ struct MetricPointId { _point == other._point); } - MetricName name() const { return _name; } + MetricId name() const { return _name; } Point point() const { return _point; } }; |