ifcparse: fix clang-tidy warning readability-else-after-return

This commit is contained in:
Dirk Olbrich
2023-10-24 12:21:32 +02:00
committed by Thomas Krijnen
parent b264408d85
commit 9f40674d91
12 changed files with 160 additions and 161 deletions
+1 -2
View File
@@ -281,9 +281,8 @@ unsigned int IfcWriteArgument::size() const {
const int size = container.apply_visitor(v);
if (size == -1) {
throw IfcParse::IfcException("Invalid cast");
} else {
return size;
}
return size;
}
IfcUtil::ArgumentType IfcWriteArgument::type() const {