summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/plib/pstream.cpp
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2017-03-30 20:20:00 +0200
committer couriersud <couriersud@gmx.org>2017-03-30 22:06:03 +0200
commitac13946ffbec538f5fc193843fae7dd513b9c58e (patch)
tree44ee3cdb306b6cbd214c12bd8cb46dc1e6e6fb19 /src/lib/netlist/plib/pstream.cpp
parentac856bc4d1d22a4be0cd8c86ec7da66761becc96 (diff)
Change pstring to use std::string as storage container.
This removes all allocation code from pstring. const_iterator is consequently now based on pstring::const_iterator. Removed pstring_buffer. This was class wasn't a good idea. Vas was right: This change did not impact runtime performance. Startup performance (string intensive) increased. (nw)
Diffstat (limited to 'src/lib/netlist/plib/pstream.cpp')
-rw-r--r--src/lib/netlist/plib/pstream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/netlist/plib/pstream.cpp b/src/lib/netlist/plib/pstream.cpp
index e14bc864122..420f63c9e5e 100644
--- a/src/lib/netlist/plib/pstream.cpp
+++ b/src/lib/netlist/plib/pstream.cpp
@@ -367,7 +367,7 @@ pstream::pos_type pomemstream::vtell()
bool putf8_reader::readline(pstring &line)
{
pstring::code_t c = 0;
- m_linebuf.clear();
+ m_linebuf = "";
if (!this->readcode(c))
{
line = "";