diff options
author | 2016-06-07 15:15:37 -0400 | |
---|---|---|
committer | 2016-06-07 21:40:30 +0200 | |
commit | b27790890530b658e178846e7da01045185f0fce (patch) | |
tree | 95c027c901b343de6600a65d8d8f1beda51cbcdf /src/lib/netlist/plib/pfmtlog.cpp | |
parent | 9137ace16ae5bed3f7164409a8622f61a9db2b80 (diff) |
- Minor cosmetic refactoring. Added a "uninitialised array" template to
allow in-place creation (for increased locality) of netlist classes.
Main use is in truthtable class.
- Remove PLIB_NAMESPACE macros.
- Remove namespace macros. Use explicit namespace declarations.
- Moved device definitions into cpp files.
- Moved more device definitions into cpp files.
- New prefix "nlid" for include files flags purely internal include
files not to be leaked into userland.
- Fix factory code.
Diffstat (limited to 'src/lib/netlist/plib/pfmtlog.cpp')
-rw-r--r-- | src/lib/netlist/plib/pfmtlog.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/netlist/plib/pfmtlog.cpp b/src/lib/netlist/plib/pfmtlog.cpp index 90e743b8125..40ab47209ba 100644 --- a/src/lib/netlist/plib/pfmtlog.cpp +++ b/src/lib/netlist/plib/pfmtlog.cpp @@ -16,7 +16,7 @@ #include "pfmtlog.h" #include "palloc.h" -PLIB_NAMESPACE_START() +namespace plib { pfmt::pfmt(const pstring &fmt) : m_str(m_str_buf), m_allocated(0), m_arg(0) @@ -164,6 +164,6 @@ void pfmt::format_element(const char *f, const char *l, const char *fmt_spec, . va_end(ap); } -PLIB_NAMESPACE_END() +} #endif |