diff options
| author | Adam <Adam@anope.org> | 2010-06-26 22:50:02 -0400 |
|---|---|---|
| committer | Adam <Adam@anope.org> | 2010-06-26 22:50:02 -0400 |
| commit | d49aee6cf88c79220eb785245257544c8051247f (patch) | |
| tree | 1702008e37ed37c0b765dd1d5bca82823c432685 /include/services.h | |
| parent | e51d6e2fe1b3426a8f08c17a3afc6d1859e7bfeb (diff) | |
Made the flags class take an optional size arg
Diffstat (limited to 'include/services.h')
| -rw-r--r-- | include/services.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/services.h b/include/services.h index c945c10d4..766137ba2 100644 --- a/include/services.h +++ b/include/services.h @@ -308,10 +308,10 @@ class DatabaseException : public CoreException /** Class with the ability to keep flags on items, they should extend from this * where T is an enum. */ -template<typename T> class Flags +template<typename T, size_t Size = 32> class Flags { protected: - std::bitset<128> Flag_Values; + std::bitset<Size> Flag_Values; public: /** Add a flag to this item |
