diff --git a/searchsummary/src/tests/juniper/testenv.cpp b/searchsummary/src/tests/juniper/testenv.cpp index bb3522fe09ec..cc6a64583769 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(); }