mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-17 19:09:07 +00:00
Allow passing buffer to serializers that support it
This commit is contained in:
@@ -282,6 +282,7 @@ public:
|
||||
|
||||
stream_or_filename(const std::string& fn)
|
||||
: ofs_(new std::ofstream(ifcopenshell::path::from_utf8(fn).c_str()))
|
||||
, filename_(fn)
|
||||
, stream(*ofs_)
|
||||
{}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user