We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 608c7d9 commit 53f6253Copy full SHA for 53f6253
src/ifcparse/IfcWrite.cpp
@@ -159,8 +159,9 @@ void IfcWritableEntity::setArgument(int i, Argument* a) {
159
case IfcUtil::Argument_STRING:
160
this->setArgument(i, static_cast<std::string>(*a));
161
break;
162
- case IfcUtil::Argument_BINARY:
163
- this->setArgument(i, static_cast< boost::dynamic_bitset<> >(*a));
+ case IfcUtil::Argument_BINARY: {
+ boost::dynamic_bitset<> attr_value = *a;
164
+ this->setArgument(i, attr_value); }
165
166
case IfcUtil::Argument_AGGREGATE_OF_INT: {
167
std::vector<int> attr_value = *a;
0 commit comments