diff options
author | 2020-07-28 20:42:44 +0200 | |
---|---|---|
committer | 2020-07-28 20:42:47 +0200 | |
commit | 0cbbbdc846f7efdc47df0639bb1ce72f0e8e79e8 (patch) | |
tree | 713ebc6b405d657dc9ca05c3be34392a3f57d734 /src/lib/netlist/plib/ppreprocessor.h | |
parent | 09e987486a38e9e9f94e468b77f4cd7f4aa5259c (diff) |
netlist: source stream refactoring
* This is an infrastructure change to enable better error reporting
including file/source and line numbers in the future
Diffstat (limited to 'src/lib/netlist/plib/ppreprocessor.h')
-rw-r--r-- | src/lib/netlist/plib/ppreprocessor.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/netlist/plib/ppreprocessor.h b/src/lib/netlist/plib/ppreprocessor.h index d5dcc3d5fa7..4b460d42ec8 100644 --- a/src/lib/netlist/plib/ppreprocessor.h +++ b/src/lib/netlist/plib/ppreprocessor.h @@ -78,7 +78,7 @@ namespace plib { template <typename T> ppreprocessor & process(T &&istrm, const pstring &filename) { - m_stack.emplace_back(input_context(std::forward<T>(istrm),plib::util::path(filename), filename)); + m_stack.emplace_back(input_context(istrm.release_stream(),plib::util::path(filename), filename)); process_stack(); return *this; } |