1
0
mirror of https://github.com/anope/anope.git synced 2026-07-09 23:43:12 +02:00

Mark types that have no inheritors as final.

This commit is contained in:
Sadie Powell
2024-01-23 13:54:16 +00:00
parent a6a0f6c447
commit 72acef4e15
227 changed files with 771 additions and 771 deletions
+3 -3
View File
@@ -50,7 +50,7 @@ namespace Anope
/* rfc1459 case insensitive ctype, { = [, } = ], and | = \ */
template<typename char_type>
class rfc1459_ctype
class rfc1459_ctype final
: public ascii_ctype<char_type>
{
public:
@@ -80,7 +80,7 @@ namespace ci
* This class is used to implement ci::string, a case-insensitive, ASCII-
* comparing string class.
*/
struct CoreExport ci_char_traits
struct CoreExport ci_char_traits final
: std::char_traits<char>
{
/** Check if two chars match.
@@ -126,7 +126,7 @@ namespace ci
*/
typedef std::basic_string<char, ci_char_traits, std::allocator<char> > string;
struct CoreExport less
struct CoreExport less final
{
/** Compare two Anope::strings as ci::strings and find which one is less
* @param s1 The first string