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/pstrutil.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/pstrutil.h')
-rw-r--r-- | src/lib/netlist/plib/pstrutil.h | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/src/lib/netlist/plib/pstrutil.h b/src/lib/netlist/plib/pstrutil.h index 69b9651ab0e..608f42cb4c2 100644 --- a/src/lib/netlist/plib/pstrutil.h +++ b/src/lib/netlist/plib/pstrutil.h @@ -1,12 +1,13 @@ // license:GPL-2.0+ // copyright-holders:Couriersud -/* - * pstrutil.h - */ #ifndef PSTRUTIL_H_ #define PSTRUTIL_H_ +/// +/// \file pstrutil.h +/// + #include "pstring.h" #include "ptypes.h" @@ -67,7 +68,7 @@ namespace plib template<typename T> typename T::size_type find_last_not_of(const T &str, const T &no) { - /* FIXME: reverse iterator */ + // FIXME: use reverse iterator typename T::size_type last_found = T::npos; typename T::size_type pos = 0; for (auto it = str.begin(); it != str.end(); ++it, ++pos) @@ -225,4 +226,4 @@ namespace plib } // namespace plib -#endif /* PSTRUTIL_H_ */ +#endif // PSTRUTIL_H_ |