diff options
author | Razvan Becheriu <razvan@isc.org> | 2023-12-20 20:06:42 +0100 |
---|---|---|
committer | Razvan Becheriu <razvan@isc.org> | 2024-01-22 16:33:26 +0100 |
commit | 54dd674d0da13aac0cf2ca484842740477276e26 (patch) | |
tree | 884e70409a29a318cf9b038855204a8edbd042b0 /src/lib/cc/stamped_element.cc | |
parent | [#3119] Fixed some coverity reported defects (diff) | |
download | kea-54dd674d0da13aac0cf2ca484842740477276e26.tar.xz kea-54dd674d0da13aac0cf2ca484842740477276e26.zip |
[#3119] use auto const& whenever possible
Diffstat (limited to 'src/lib/cc/stamped_element.cc')
-rw-r--r-- | src/lib/cc/stamped_element.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/cc/stamped_element.cc b/src/lib/cc/stamped_element.cc index 3c53b3826f..93915d63ca 100644 --- a/src/lib/cc/stamped_element.cc +++ b/src/lib/cc/stamped_element.cc @@ -38,7 +38,7 @@ StampedElement::getMetadata() const { ElementPtr metadata = Element::createMap(); ElementPtr tags = Element::createList(); - for (auto server_tag : server_tags_) { + for (const auto& server_tag : server_tags_) { tags->add(Element::create(server_tag.get())); } |