mirror of
https://github.com/wesnoth/wesnoth
synced 2025-05-08 17:17:06 +00:00
Removed the ref qualifier from the version map
This commit is contained in:
parent
f2ac72a13f
commit
aa6daed0de
@ -153,9 +153,9 @@ void add_license(config& cfg)
|
|||||||
copying["contents"] = contents;
|
copying["contents"] = contents;
|
||||||
}
|
}
|
||||||
|
|
||||||
std::map<version_info, config&> get_version_map(config& addon)
|
std::map<version_info, config> get_version_map(config& addon)
|
||||||
{
|
{
|
||||||
auto version_map = std::map<version_info, config&>();
|
std::map<version_info, config> version_map;
|
||||||
|
|
||||||
for(config& version : addon.child_range("version")) {
|
for(config& version : addon.child_range("version")) {
|
||||||
version_map.emplace(version_info(version["version"]), version);
|
version_map.emplace(version_info(version["version"]), version);
|
||||||
|
@ -81,7 +81,7 @@ void find_translations(const config& base_dir, config& addon);
|
|||||||
*/
|
*/
|
||||||
void add_license(config& cfg);
|
void add_license(config& cfg);
|
||||||
|
|
||||||
std::map<version_info, config&> get_version_map(config& addon);
|
std::map<version_info, config> get_version_map(config& addon);
|
||||||
|
|
||||||
bool data_apply_removelist(config& data, const config& removelist);
|
bool data_apply_removelist(config& data, const config& removelist);
|
||||||
void data_apply_addlist(config& data, const config& addlist);
|
void data_apply_addlist(config& data, const config& addlist);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user