mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-09-09 12:25:17 -04:00
Merge branch 'fix_reserved_nodes' into 'master'
Add missing non-prefixed reserved nodes See merge request OpenMW/openmw!2414 (cherry picked from commit cd8b20439ec707574826679a8f851546c78e294e) ac01fd5e Add missing non-prefixed reserved nodes
This commit is contained in:
parent
9bed210e4e
commit
847e2bbeaf
@ -665,10 +665,11 @@ namespace Resource
|
||||
};
|
||||
|
||||
std::vector<std::string> result;
|
||||
result.reserve(std::size(names));
|
||||
result.reserve(2 * std::size(names));
|
||||
|
||||
for (std::string_view name : names)
|
||||
{
|
||||
result.emplace_back(name);
|
||||
std::string prefixedName("Tri ");
|
||||
prefixedName += name;
|
||||
result.push_back(std::move(prefixedName));
|
||||
|
Loading…
x
Reference in New Issue
Block a user