From d3277ff41740acdc6a79cd61f043017e7504f931 Mon Sep 17 00:00:00 2001 From: Tor Egge Date: Tue, 30 Aug 2022 23:06:30 +0200 Subject: Use auto keyword. --- searchsummary/src/tests/juniper/testenv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'searchsummary/src') 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::const_iterator res = _map.find(std::string(name)); + auto res = _map.find(std::string(name)); if (res != _map.end()) { return res->second.c_str(); } -- cgit v1.2.3