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:
parent
ed3cc61416
commit
d1323f29f9
1 changed files with 1 additions and 1 deletions
|
@ -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)));
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue