Restore 2011-09-29T15:55:37Z!thonsew@yahoo.com by thonsew:

Fixed a std::string & bound to a temporary rvalue.
This commit is contained in:
Alexander van Gessel 2011-10-15 17:44:06 +01:00
parent ed3cc61416
commit d1323f29f9

View file

@ -1490,7 +1490,7 @@ void refresh_addon_version_info_cache()
if (!info_cfg) {
continue;
}
std::string const& version = info_cfg["version"];
std::string const version = info_cfg["version"];
LOG_CFG << "caching add-on version info: " << addon << " [" << version << "]\n";
version_info_cache.insert(std::make_pair(addon, version_info(version)));
}