Fix compilation with gcc

This commit is contained in:
Thomas Krijnen
2015-04-07 19:26:01 +00:00
parent 608c7d9841
commit 53f625346f
+3 -2
View File
@@ -159,8 +159,9 @@ void IfcWritableEntity::setArgument(int i, Argument* a) {
case IfcUtil::Argument_STRING:
this->setArgument(i, static_cast<std::string>(*a));
break;
case IfcUtil::Argument_BINARY:
this->setArgument(i, static_cast< boost::dynamic_bitset<> >(*a));
case IfcUtil::Argument_BINARY: {
boost::dynamic_bitset<> attr_value = *a;
this->setArgument(i, attr_value); }
break;
case IfcUtil::Argument_AGGREGATE_OF_INT: {
std::vector<int> attr_value = *a;