Revert "Fixes IfcUtil::valid_binary_string so it returns false for an empty string"

This reverts commit 2514e93a8d.
This commit is contained in:
Thomas Krijnen
2021-04-29 16:28:16 +02:00
parent 2d1ddea3d0
commit f5e5ede0fa
+1 -1
View File
@@ -173,7 +173,7 @@ bool IfcUtil::valid_binary_string(const std::string& s) {
for (std::string::const_iterator it = s.begin(); it != s.end(); ++it) {
if (*it != '0' && *it != '1') return false;
}
return s.empty() ? false : true;
return true;
}
void IfcUtil::sanitate_material_name(std::string &str)