aboutsummaryrefslogtreecommitdiffstats
path: root/storageframework
diff options
context:
space:
mode:
authorTor Egge <Tor.Egge@broadpark.no>2020-02-14 22:45:36 +0100
committerTor Egge <Tor.Egge@broadpark.no>2020-02-14 22:45:52 +0100
commit34878fd4801d94fd9a2d816bd8eb9b5f3ad05a67 (patch)
treec1be35391d2b4527bd5ad2529cc16884303d67e6 /storageframework
parentb173d4bd32ca845e91e1464fb6812a040025cb9b (diff)
Fix issues detected by clang 10.
Diffstat (limited to 'storageframework')
-rw-r--r--storageframework/src/vespa/storageframework/generic/status/httpurlpath.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/storageframework/src/vespa/storageframework/generic/status/httpurlpath.cpp b/storageframework/src/vespa/storageframework/generic/status/httpurlpath.cpp
index 337709cc591..10691d37b9e 100644
--- a/storageframework/src/vespa/storageframework/generic/status/httpurlpath.cpp
+++ b/storageframework/src/vespa/storageframework/generic/status/httpurlpath.cpp
@@ -77,7 +77,7 @@ HttpUrlPath::print(std::ostream& out, bool, const std::string&) const
if (!_attributes.empty()) {
out << "?";
size_t cnt = 0;
- for (const auto attr: _attributes) {
+ for (const auto &attr: _attributes) {
if (cnt++ > 0) {
out << "&";
}