summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--searchsummary/src/tests/juniper/testenv.cpp2
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();
}