Serialized.setFile: use file ref instead of pointer for safety

This commit is contained in:
Andrej730
2026-07-24 19:47:11 +05:00
parent 310eaedc8e
commit 34f8a2c54e
17 changed files with 27 additions and 27 deletions
+1 -1
View File
@@ -35,7 +35,7 @@ public:
virtual bool is_streaming() const { return false; }
virtual void writeHeader() = 0;
virtual void finalize() = 0;
virtual void setFile(ifcopenshell::file*) = 0;
virtual void setFile(ifcopenshell::file&) = 0;
};
#endif