mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-27 18:57:17 +00:00
Fix compilation with gcc
This commit is contained in:
@@ -159,8 +159,9 @@ void IfcWritableEntity::setArgument(int i, Argument* a) {
|
|||||||
case IfcUtil::Argument_STRING:
|
case IfcUtil::Argument_STRING:
|
||||||
this->setArgument(i, static_cast<std::string>(*a));
|
this->setArgument(i, static_cast<std::string>(*a));
|
||||||
break;
|
break;
|
||||||
case IfcUtil::Argument_BINARY:
|
case IfcUtil::Argument_BINARY: {
|
||||||
this->setArgument(i, static_cast< boost::dynamic_bitset<> >(*a));
|
boost::dynamic_bitset<> attr_value = *a;
|
||||||
|
this->setArgument(i, attr_value); }
|
||||||
break;
|
break;
|
||||||
case IfcUtil::Argument_AGGREGATE_OF_INT: {
|
case IfcUtil::Argument_AGGREGATE_OF_INT: {
|
||||||
std::vector<int> attr_value = *a;
|
std::vector<int> attr_value = *a;
|
||||||
|
|||||||
Reference in New Issue
Block a user