mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-22 13:58:12 +00:00
Serialized.setFile: use file ref instead of pointer for safety
This commit is contained in:
@@ -25,7 +25,7 @@ public:
|
||||
void writeHeader() override {}
|
||||
|
||||
void finalize() override;
|
||||
void setFile(ifcopenshell::file*) override { throw ifcopenshell::exception("Streaming serializer uses input filename supplied on construction"); }
|
||||
void setFile(ifcopenshell::file&) override { throw ifcopenshell::exception("Streaming serializer uses input filename supplied on construction"); }
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user