diff options
author | Tor Egge <Tor.Egge@online.no> | 2022-08-30 23:06:30 +0200 |
---|---|---|
committer | Tor Egge <Tor.Egge@online.no> | 2022-08-30 23:06:30 +0200 |
commit | d3277ff41740acdc6a79cd61f043017e7504f931 (patch) | |
tree | 47a2b35fbe897fb69fba967b48e24c3f333c879e | |
parent | 067aba39c8877db69367b04bd05686772ab00554 (diff) |
Use auto keyword.
-rw-r--r-- | searchsummary/src/tests/juniper/testenv.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/searchsummary/src/tests/juniper/testenv.cpp b/searchsummary/src/tests/juniper/testenv.cpp index bb3522fe09e..cc6a6458376 100644 --- a/searchsummary/src/tests/juniper/testenv.cpp +++ b/searchsummary/src/tests/juniper/testenv.cpp @@ -108,7 +108,7 @@ PropertyMap::set(const char *name, const char *value) const char * PropertyMap::GetProperty(const char* name, const char* def) const { - std::map<std::string, std::string>::const_iterator res = _map.find(std::string(name)); + auto res = _map.find(std::string(name)); if (res != _map.end()) { return res->second.c_str(); } |