From e4efd41a99e1237b61336555af0398ef5f634a4d Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 30 Sep 2022 20:21:59 +0100 Subject: Use a global typedef for representing a character set. --- include/modules/who.h | 2 -- include/typedefs.h | 3 +++ 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'include') 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 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 CharState; + namespace Stats { class Context; -- cgit v1.3.1-10-gc9f91