ifcparse: fix clang-tidy warning readability-qualified-auto

This commit is contained in:
Dirk Olbrich
2023-10-24 16:11:26 +02:00
committed by Thomas Krijnen
parent c29e7b32ad
commit 8b145248c6
4 changed files with 28 additions and 28 deletions
+2 -2
View File
@@ -112,10 +112,10 @@ bool IfcParse::named_type::is(const IfcParse::declaration& decl) const {
}
IfcParse::entity::~entity() {
for (auto attribute : attributes_) {
for (const auto* attribute : attributes_) {
delete attribute;
}
for (auto inverse_attribute : inverse_attributes_) {
for (const auto* inverse_attribute : inverse_attributes_) {
delete inverse_attribute;
}
}