mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-09 09:21:46 +00:00
#4182 Properly initialize filename in stream_or_filename class
This commit is contained in:
@@ -77,6 +77,7 @@ public:
|
||||
|
||||
stream_or_filename(const std::string& fn)
|
||||
: ofs_(new std::ofstream(IfcUtil::path::from_utf8(fn).c_str()))
|
||||
, filename_(fn)
|
||||
, stream(*ofs_)
|
||||
{}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user