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/dhcpsrv/testutils/test_config_backend.h | |
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/dhcpsrv/testutils/test_config_backend.h')
-rw-r--r-- | src/lib/dhcpsrv/testutils/test_config_backend.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/dhcpsrv/testutils/test_config_backend.h b/src/lib/dhcpsrv/testutils/test_config_backend.h index d78f97f8fd..f6f4e5e2be 100644 --- a/src/lib/dhcpsrv/testutils/test_config_backend.h +++ b/src/lib/dhcpsrv/testutils/test_config_backend.h @@ -96,7 +96,7 @@ public: void mergeServerTags(const StampedElementPtr& elem, const db::ServerSelector& server_selector) const { auto tags = server_selector.getTags(); - for (auto tag : tags) { + for (auto const& tag : tags) { elem->setServerTag(tag.get()); } } |