From f9fa6b1c81b99303d3448bcb355bc6e3f4d3c44a Mon Sep 17 00:00:00 2001 From: couriersud Date: Mon, 8 Jun 2020 02:52:39 +0200 Subject: 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 --- src/lib/netlist/plib/ppreprocessor.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/lib/netlist/plib/ppreprocessor.cpp') 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)); -- cgit v1.2.3-70-g09d2