diff options
author | 2020-06-08 02:52:39 +0200 | |
---|---|---|
committer | 2020-06-08 02:52:39 +0200 | |
commit | f9fa6b1c81b99303d3448bcb355bc6e3f4d3c44a (patch) | |
tree | 6bfa155ca4bd57e7086f0b19cbb9cba6591e1624 /src/lib/netlist/plib/ppreprocessor.cpp | |
parent | 29c7171702967abe49bb3f9dcd55b4b083606570 (diff) |
netlist: code maintenance. (nw)
- more c++14, use enable_if_t instead of enable_if
- cleaned up the use of memory allocation arenas
- reduce MACRO usage, use std::conditional where possible
Diffstat (limited to 'src/lib/netlist/plib/ppreprocessor.cpp')
-rw-r--r-- | src/lib/netlist/plib/ppreprocessor.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/netlist/plib/ppreprocessor.cpp b/src/lib/netlist/plib/ppreprocessor.cpp index d8909449403..f13d3aeef43 100644 --- a/src/lib/netlist/plib/ppreprocessor.cpp +++ b/src/lib/netlist/plib/ppreprocessor.cpp @@ -516,14 +516,14 @@ namespace plib { arg = arg.substr(1, arg.length() - 2); // first try local context auto l(plib::util::buildpath({m_stack.back().m_local_path, arg})); - auto lstrm(m_sources.get_stream<>(l)); + auto lstrm(m_sources.get_stream(l)); if (lstrm) { m_stack.emplace_back(input_context(std::move(lstrm), plib::util::path(l), l)); } else { - auto strm(m_sources.get_stream<>(arg)); + auto strm(m_sources.get_stream(arg)); if (strm) { m_stack.emplace_back(input_context(std::move(strm), plib::util::path(arg), arg)); |