diff options
author | AJR <ajrhacker@users.noreply.github.com> | 2020-06-18 16:46:11 -0400 |
---|---|---|
committer | AJR <ajrhacker@users.noreply.github.com> | 2020-06-18 16:47:33 -0400 |
commit | a58685ec6da85195303a1a2a6f468e33f449235f (patch) | |
tree | 1f1914d9f8f2626011defaf269c6a217bed744c3 /src/lib/netlist/prg/nltool.cpp | |
parent | 7bb325c78f39c8bcf74889b41705346667fbce7b (diff) |
Fix nltool build on CWG 1579-noncompliant compilers (nw)
Diffstat (limited to 'src/lib/netlist/prg/nltool.cpp')
-rw-r--r-- | src/lib/netlist/prg/nltool.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/netlist/prg/nltool.cpp b/src/lib/netlist/prg/nltool.cpp index 8b642c4b840..9bc19779e0b 100644 --- a/src/lib/netlist/prg/nltool.cpp +++ b/src/lib/netlist/prg/nltool.cpp @@ -201,7 +201,7 @@ public: stream_ptr stream(const pstring &file) override { 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()) return stream_ptr(nullptr); |