diff options
| author | 2022-09-30 20:21:59 +0100 | |
|---|---|---|
| committer | 2022-09-30 20:21:59 +0100 | |
| commit | e4efd41a99e1237b61336555af0398ef5f634a4d (patch) | |
| tree | 33d556a2347e0e1531546cf0d661b40512c3b620 /include | |
| parent | Use auto instead of type names where the type is obvious. (diff) | |
Use a global typedef for representing a character set.
Diffstat (limited to 'include')
| -rw-r--r-- | include/modules/who.h | 2 | ||||
| -rw-r--r-- | include/typedefs.h | 3 |
2 files changed, 3 insertions, 2 deletions
diff --git a/include/modules/who.h b/include/modules/who.h index 20c59d4c9..48908e98e 100644 --- a/include/modules/who.h +++ b/include/modules/who.h @@ -70,8 +70,6 @@ public: class Who::Request { public: - typedef std::bitset<UCHAR_MAX + 1> CharState; - /** The flags for matching users to include. */ CharState flags; diff --git a/include/typedefs.h b/include/typedefs.h index 8cac70d5d..80fc43c7d 100644 --- a/include/typedefs.h +++ b/include/typedefs.h @@ -123,6 +123,9 @@ typedef XLineContainer::iterator ContainerIter; */ typedef XLineLookup::iterator LookupIter; +/** A bitset of characters which are enabled/set. */ +typedef std::bitset<UCHAR_MAX + 1> CharState; + namespace Stats { class Context; |
