Fix nltool build on CWG 1579-noncompliant compilers (nw)
This commit is contained in:
parent
7bb325c78f
commit
a58685ec6d
@ -201,7 +201,7 @@ public:
|
|||||||
stream_ptr stream(const pstring &file) override
|
stream_ptr stream(const pstring &file) override
|
||||||
{
|
{
|
||||||
pstring name = m_folder + "/" + file;
|
pstring name = m_folder + "/" + file;
|
||||||
auto strm(std::make_unique<plib::ifstream>(plib::filesystem::u8path(name)));
|
stream_ptr strm(std::make_unique<plib::ifstream>(plib::filesystem::u8path(name)));
|
||||||
if (strm->fail())
|
if (strm->fail())
|
||||||
return stream_ptr(nullptr);
|
return stream_ptr(nullptr);
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user