This commit is contained in:
Nav
2024-03-09 15:20:55 +00:00
parent 7358a116e9
commit 4bb273124a
3 changed files with 2 additions and 3 deletions

View File

@@ -641,7 +641,7 @@ namespace Targets::TargetDescription
!element.isNull();
element = element.nextSiblingElement("pin")
) {
output.pins.push_back(TargetDescriptionFile::pinFromXml(element));
output.pins.emplace_back(TargetDescriptionFile::pinFromXml(element));
}
return output;

View File

@@ -111,7 +111,6 @@ namespace Targets::TargetDescription
std::map<std::string, Module, std::less<void>> modulesByKey;
std::map<std::string, Peripheral, std::less<void>> peripheralsByKey;
std::map<std::string, Pinout, std::less<void>> pinoutsByKey;
std::map<std::string, std::vector<RegisterGroup>> peripheralRegisterGroupsMappedByModuleRegisterGroupName;
TargetDescriptionFile() = default;
virtual ~TargetDescriptionFile() = default;