mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 18:16:40 +00:00
ifcparse: fix clang-tidy warning readability-qualified-auto
This commit is contained in:
committed by
Thomas Krijnen
parent
c29e7b32ad
commit
8b145248c6
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user