Ensure that DeckItem is written raw in output

This commit is contained in:
Joakim Hove
2019-09-30 19:08:06 +02:00
parent 809177af03
commit 650dd32274

View File

@@ -361,8 +361,11 @@ void DeckItem::write(DeckOutput& stream) const {
this->write_vector( stream, this->ival );
break;
case type_tag::fdouble:
this->write_vector( stream, this->dval );
break;
{
const auto& data = this->getData<double>();
this->write_vector( stream, data );
break;
}
case type_tag::string:
this->write_vector( stream, this->sval );
break;