summaryrefslogtreecommitdiffstatshomepage
path: root/src/lib/netlist/plib/pstring.cpp
diff options
context:
space:
mode:
author couriersud <couriersud@gmx.org>2017-01-19 18:05:19 +0100
committer couriersud <couriersud@gmx.org>2017-01-20 22:29:23 +0100
commit4d15501a30d78eecc5011ebdd12a7568954129cb (patch)
treef3364bc26aae7719fb8fa3b153847188446844a7 /src/lib/netlist/plib/pstring.cpp
parent1ae3e29ea3fd90e5df31d52c5d3860fde7f3cbac (diff)
Netlist: code refactoring
Make streams provide binary access only. Use putf8_reader and putf8_writer to actually access streams. Replace some char * parameters with pstring where appropriate. Minor code refactoring and move functionality were it belongs. (nw)
Diffstat (limited to 'src/lib/netlist/plib/pstring.cpp')
-rw-r--r--src/lib/netlist/plib/pstring.cpp2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/lib/netlist/plib/pstring.cpp b/src/lib/netlist/plib/pstring.cpp
index 2325e8b08c2..7d676f34c0d 100644
--- a/src/lib/netlist/plib/pstring.cpp
+++ b/src/lib/netlist/plib/pstring.cpp
@@ -426,7 +426,6 @@ void pstring_t<F>::sfree(pstr_t *s)
}
else
plib::pfree_array(reinterpret_cast<char *>(s));
- //_mm_free(((char *)s));
}
}
@@ -477,7 +476,6 @@ void pstring_t<F>::sfree(pstr_t *s)
if (s->m_ref_count == 0 && s != &m_zero)
{
plib::pfree_array(((char *)s));
- //_mm_free(((char *)s));
}
}