diff options
author | 2017-01-23 21:20:09 +0100 | |
---|---|---|
committer | 2017-01-25 22:17:47 +0100 | |
commit | 25152bd69a070aa7ba84248b368b0803e407272a (patch) | |
tree | 7a0704f433857e91cbda2cda93dca07e643e075a /src/lib/netlist/plib/pstring.h | |
parent | 093bda019317a5a66699b35f8b25ab73802f1f1c (diff) |
Netlist refactoring:
- Refactored netlist pmf code.
- Small optimization for diode calculations.
- Minor refactoring across the board. (nw)
Diffstat (limited to 'src/lib/netlist/plib/pstring.h')
-rw-r--r-- | src/lib/netlist/plib/pstring.h | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/src/lib/netlist/plib/pstring.h b/src/lib/netlist/plib/pstring.h index 059df4b6376..e3dd475175e 100644 --- a/src/lib/netlist/plib/pstring.h +++ b/src/lib/netlist/plib/pstring.h @@ -23,7 +23,7 @@ struct pstr_t { - pstr_t(const int alen) { init(alen); } + pstr_t(const std::size_t alen) { init(alen); } void init(const std::size_t alen) { m_ref_count = 1; @@ -169,13 +169,6 @@ public: const pstring_t ucase() const; - // FIXME: do something with encoding - // FIXME: belongs into derived class - // This is only used in state saving to support "owners" whose name() function - // returns char*. - static pstring_t from_utf8(const mem_t *c) { return pstring_t(c, UTF8); } - static pstring_t from_utf8(const pstring_t &c) { return c; } - static void resetmem(); protected: |