src/linetypes/errorline.cpp

changeset 134
f77d2230e87c
parent 132
488d0ba6070b
child 141
185eb297dc1e
--- 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;
+}

mercurial