mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-21 23:50:59 +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)
|
stream_or_filename(const std::string& fn)
|
||||||
: ofs_(new std::ofstream(IfcUtil::path::from_utf8(fn).c_str()))
|
: ofs_(new std::ofstream(IfcUtil::path::from_utf8(fn).c_str()))
|
||||||
|
, filename_(fn)
|
||||||
, stream(*ofs_)
|
, stream(*ofs_)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user