summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/plib/ppreprocessor.h
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2020-06-06 20:41:53 +0200
committer couriersud <couriersud@gmx.org>2020-06-06 20:43:12 +0200
commit8a1ece4a3b10d035af91e71adef4384ced0e3fca (patch)
tree80a856030cd3e8e85cda249abf17259885cf98b4 /src/lib/netlist/plib/ppreprocessor.h
parente3901f419cb241be55bba6dd6dc29f0cf5778ae3 (diff)
netlist: Reduce macro usage and make use of pstring utf8. (nw)
Diffstat (limited to 'src/lib/netlist/plib/ppreprocessor.h')
-rw-r--r--src/lib/netlist/plib/ppreprocessor.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/netlist/plib/ppreprocessor.h b/src/lib/netlist/plib/ppreprocessor.h
index e88fff0c13a..115f344cc69 100644
--- a/src/lib/netlist/plib/ppreprocessor.h
+++ b/src/lib/netlist/plib/ppreprocessor.h
@@ -95,7 +95,7 @@ namespace plib {
if (this->gptr() == this->egptr())
{
// clang reports sign error - weird
- std::size_t bytes = pstring_mem_t_size(m_strm->m_outbuf) - static_cast<std::size_t>(m_strm->m_pos);
+ std::size_t bytes = m_strm->m_outbuf.size() - static_cast<std::size_t>(m_strm->m_pos);
if (bytes > m_buf.size())
bytes = m_buf.size();
@@ -160,7 +160,7 @@ namespace plib {
// vector used as stack because we need to loop through stack
std::vector<input_context> m_stack;
- pstring_t<pu8_traits> m_outbuf;
+ std::string m_outbuf;
std::istream::pos_type m_pos;
state_e m_state;
pstring m_line;