diff options
Diffstat (limited to 'src/lib/netlist/plib/pfmtlog.h')
-rw-r--r-- | src/lib/netlist/plib/pfmtlog.h | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/src/lib/netlist/plib/pfmtlog.h b/src/lib/netlist/plib/pfmtlog.h index 8ee3c75c5f8..1a212e601b8 100644 --- a/src/lib/netlist/plib/pfmtlog.h +++ b/src/lib/netlist/plib/pfmtlog.h @@ -14,6 +14,14 @@ namespace plib { +P_ENUM(plog_level, + DEBUG, + INFO, + VERBOSE, + WARNING, + ERROR, + FATAL) + template <typename T> struct ptype_traits_base { @@ -175,14 +183,6 @@ private: unsigned m_arg; }; -P_ENUM(plog_level, - DEBUG, - INFO, - VERBOSE, - WARNING, - ERROR, - FATAL) - class plog_dispatch_intf; template <bool build_enabled = true> @@ -242,7 +242,7 @@ private: }; -template <plog_level::e L, bool build_enabled = true> +template <plog_level::E L, bool build_enabled = true> class plog_channel : public pfmt_writer_t<build_enabled> { public: @@ -258,7 +258,7 @@ private: class plog_dispatch_intf { - template<plog_level::e, bool> friend class plog_channel; + template<plog_level::E, bool> friend class plog_channel; public: virtual ~plog_dispatch_intf(); @@ -290,7 +290,7 @@ public: }; -template <plog_level::e L, bool build_enabled> +template <plog_level::E L, bool build_enabled> void plog_channel<L, build_enabled>::vdowrite(const pstring &ls) const { m_base->vlog(L, ls); |