diff -r 488d0ba6070b -r f77d2230e87c src/linetypes/errorline.cpp --- a/src/linetypes/errorline.cpp Tue Sep 21 16:00:15 2021 +0300 +++ b/src/linetypes/errorline.cpp Wed Sep 22 00:25:13 2021 +0300 @@ -46,3 +46,13 @@ { return Type::ErrorLine; } + +QDataStream &ldraw::ErrorLine::serialize(QDataStream &stream) const +{ + return ldraw::Object::serialize(stream) << this->text; +} + +QDataStream &ldraw::ErrorLine::deserialize(QDataStream &stream) +{ + return ldraw::Object::deserialize(stream) >> this->text; +}