summaryrefslogtreecommitdiffstats
path: root/metrics
diff options
context:
space:
mode:
authorHenning Baldersheim <balder@oath.com>2018-08-10 23:35:50 +0200
committerHenning Baldersheim <balder@oath.com>2018-08-10 23:35:50 +0200
commit822e3e3d0630b3af1d76079da8c3e1d161c3ca1a (patch)
treeb6a4ff21d628a2e0214cabe6917d9dc0b0b620f2 /metrics
parent4be58f582e0cb3313eedc0abedc86170ab41580c (diff)
Pass stringref by value
Diffstat (limited to 'metrics')
-rw-r--r--metrics/src/vespa/metrics/metricmanager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/metrics/src/vespa/metrics/metricmanager.cpp b/metrics/src/vespa/metrics/metricmanager.cpp
index 39a9fdefc39..2e87f26badb 100644
--- a/metrics/src/vespa/metrics/metricmanager.cpp
+++ b/metrics/src/vespa/metrics/metricmanager.cpp
@@ -189,7 +189,7 @@ namespace {
struct Path {
vespalib::StringTokenizer _path;
- Path(const vespalib::stringref & fullpath) : _path(fullpath, ".") { }
+ Path(vespalib::stringref fullpath) : _path(fullpath, ".") { }
vespalib::string toString() const {
vespalib::asciistream ost;