summaryrefslogtreecommitdiffstats
path: root/metrics
diff options
context:
space:
mode:
authorArne Juul <arnej@yahooinc.com>2023-01-22 12:00:01 +0000
committerArne Juul <arnej@yahooinc.com>2023-01-22 12:00:01 +0000
commitd29f85adec4a26af5f6b7e96f6f6e21d00807115 (patch)
tree219a772d0fdf32e4a3c404c25df4813cf8145148 /metrics
parent471f8f32520dd8d2b327a9ac5cf06c558e9216ad (diff)
remove some whitespace at end of lines
Diffstat (limited to 'metrics')
-rw-r--r--metrics/src/vespa/metrics/jsonwriter.h2
-rw-r--r--metrics/src/vespa/metrics/metric.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/metrics/src/vespa/metrics/jsonwriter.h b/metrics/src/vespa/metrics/jsonwriter.h
index 2e27d54d709..e4a2e7ca10b 100644
--- a/metrics/src/vespa/metrics/jsonwriter.h
+++ b/metrics/src/vespa/metrics/jsonwriter.h
@@ -36,7 +36,7 @@ private:
void writeDimensions(const DimensionSet&);
void writeInheritedDimensions();
void writeMetricSpecificDimensions(const Metric&);
-
+
bool isLeafMetric(const Metric& m) const { return !m.isMetricSet(); }
};
diff --git a/metrics/src/vespa/metrics/metric.h b/metrics/src/vespa/metrics/metric.h
index 33a3d9dee23..4e6f70b8786 100644
--- a/metrics/src/vespa/metrics/metric.h
+++ b/metrics/src/vespa/metrics/metric.h
@@ -222,7 +222,7 @@ public:
/** Used by sum metric to alter tag of cloned metric for sum. */
void setTags(Tags tags) {
_tags = std::move(tags);
- assignMangledNameWithDimensions();
+ assignMangledNameWithDimensions();
}
/** Set whether metrics have ever been set. */