diff options
author | 2019-11-08 23:52:14 +0100 | |
---|---|---|
committer | 2019-11-08 23:52:14 +0100 | |
commit | 88f702b416ba9eb930e6c1e932124d5f24b1a24c (patch) | |
tree | 955f3047b79156d7b2bbab55fcbd4fbc94661f1d /src/lib/netlist/plib/pfmtlog.h | |
parent | 731c4fe52073a7a7561bf04559e9f0b3b791388d (diff) |
netlist: code maintenance and bug fixes. (nw)
- comment style migration continues.
- Fixed a two bugs in the truthtable ignore inputs code
- refactored the truthtable code a bit for better readability.
- updated netlist specific gitignore.
Diffstat (limited to 'src/lib/netlist/plib/pfmtlog.h')
-rw-r--r-- | src/lib/netlist/plib/pfmtlog.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/lib/netlist/plib/pfmtlog.h b/src/lib/netlist/plib/pfmtlog.h index fecb3dd95bd..aaa43505293 100644 --- a/src/lib/netlist/plib/pfmtlog.h +++ b/src/lib/netlist/plib/pfmtlog.h @@ -1,8 +1,9 @@ // license:GPL-2.0+ // copyright-holders:Couriersud -/* - * pfmtlog.h - */ + +/// +/// \file pfmtlog.h +/// #ifndef PFMT_H_ #define PFMT_H_ @@ -310,7 +311,7 @@ public: COPYASSIGNMOVE(pfmt_writer_t, delete) - /* runtime enable */ + // runtime enable template<bool enabled, typename... Args> void log(const pstring & fmt, Args&&... args) const noexcept { @@ -405,4 +406,4 @@ public: template<typename T> plib::pfmt& operator<<(plib::pfmt &p, T&& val) { return p(std::forward<T>(val)); } -#endif /* PSTRING_H_ */ +#endif // PSTRING_H_ |