mirror of
https://github.com/OpenMW/openmw.git
synced 2025-06-20 19:11:33 +00:00
Merge branch 'fix_reserved_nodes' into 'master'
Add missing non-prefixed reserved nodes See merge request OpenMW/openmw!2414
This commit is contained in:
commit
cd8b20439e
1 changed files with 2 additions and 1 deletions
|
@ -667,10 +667,11 @@ namespace Resource
|
||||||
};
|
};
|
||||||
|
|
||||||
std::vector<std::string> result;
|
std::vector<std::string> result;
|
||||||
result.reserve(std::size(names));
|
result.reserve(2 * std::size(names));
|
||||||
|
|
||||||
for (std::string_view name : names)
|
for (std::string_view name : names)
|
||||||
{
|
{
|
||||||
|
result.emplace_back(name);
|
||||||
std::string prefixedName("Tri ");
|
std::string prefixedName("Tri ");
|
||||||
prefixedName += name;
|
prefixedName += name;
|
||||||
result.push_back(std::move(prefixedName));
|
result.push_back(std::move(prefixedName));
|
||||||
|
|
Loading…
Reference in a new issue