Skip to content

Commit

Permalink
Use auto keyword.
Browse files Browse the repository at this point in the history
  • Loading branch information
toregge committed Aug 30, 2022
1 parent 067aba3 commit d3277ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion searchsummary/src/tests/juniper/testenv.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
}
Expand Down

0 comments on commit d3277ff

Please sign in to comment.