diff options
author | Henning Baldersheim <balder@oath.com> | 2018-08-10 23:35:50 +0200 |
---|---|---|
committer | Henning Baldersheim <balder@oath.com> | 2018-08-10 23:35:50 +0200 |
commit | 822e3e3d0630b3af1d76079da8c3e1d161c3ca1a (patch) | |
tree | b6a4ff21d628a2e0214cabe6917d9dc0b0b620f2 /metrics | |
parent | 4be58f582e0cb3313eedc0abedc86170ab41580c (diff) |
Pass stringref by value
Diffstat (limited to 'metrics')
-rw-r--r-- | metrics/src/vespa/metrics/metricmanager.cpp | 2 |
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; |