mirror of
https://github.com/OpenMW/openmw.git
synced 2025-04-21 07:36:45 +00:00
Add missing non-prefixed reserved nodes
This commit is contained in:
parent
86ff454ca2
commit
ac01fd5e75
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