summaryrefslogtreecommitdiffstats
path: root/searchsummary/src/tests/juniper/testenv.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'searchsummary/src/tests/juniper/testenv.cpp')
-rw-r--r--searchsummary/src/tests/juniper/testenv.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/searchsummary/src/tests/juniper/testenv.cpp b/searchsummary/src/tests/juniper/testenv.cpp
index 769c24b829c..cc6a6458376 100644
--- a/searchsummary/src/tests/juniper/testenv.cpp
+++ b/searchsummary/src/tests/juniper/testenv.cpp
@@ -106,9 +106,9 @@ PropertyMap::set(const char *name, const char *value)
const char *
-PropertyMap::GetProperty(const char* name, const char* def)
+PropertyMap::GetProperty(const char* name, const char* def) const
{
- std::map<std::string, std::string>::iterator res = _map.find(std::string(name));
+ auto res = _map.find(std::string(name));
if (res != _map.end()) {
return res->second.c_str();
}