Tidying
This commit is contained in:
@@ -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;
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -286,6 +286,6 @@ if (${DISCOVERED_TDF_FILE_COUNT} GREATER ${SPECIFIED_TDF_FILE_COUNT})
|
||||
"TDF file list is not in sync. Discovered ${DISCOVERED_TDF_FILE_COUNT} TDF files in "
|
||||
"${CMAKE_CURRENT_SOURCE_DIR}/src/Targets/TargetDescriptionFiles/ but only ${SPECIFIED_TDF_FILE_COUNT} "
|
||||
"have been specified in ${CMAKE_CURRENT_SOURCE_DIR}/src/Targets/TargetDescriptionFiles/TargetDescriptionFiles.cmake "
|
||||
"Please review TDF_FILES_LIST in the TargetDescriptionFiles.cmake"
|
||||
"Please review TDF_FILES_LIST in TargetDescriptionFiles.cmake"
|
||||
)
|
||||
endif()
|
||||
|
||||
Reference in New Issue
Block a user