summaryrefslogtreecommitdiff
path: root/include/hashcomp.h
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2022-01-03 16:50:06 +0000
committerSadie Powell <sadie@witchery.services>2022-01-03 19:02:44 +0000
commita5f7aac2953e94e49b93e9195ae8d4dccba46f6d (patch)
tree442645fb3bb3da945b39fe2adeb07e71348b8771 /include/hashcomp.h
parentd76d74719687bd2bce2af661208e77db365c1b2d (diff)
Replace anope_{final,override} with their C++11 equivalent.
Diffstat (limited to 'include/hashcomp.h')
-rw-r--r--include/hashcomp.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/hashcomp.h b/include/hashcomp.h
index 983115620..a50ab334d 100644
--- a/include/hashcomp.h
+++ b/include/hashcomp.h
@@ -38,7 +38,7 @@ namespace Anope
class ascii_ctype : public std::ctype<char_type>
{
public:
- char_type do_toupper(char_type c) const anope_override
+ char_type do_toupper(char_type c) const override
{
if (c >= 'a' && c <= 'z')
return c - 32;
@@ -46,7 +46,7 @@ namespace Anope
return c;
}
- char_type do_tolower(char_type c) const anope_override
+ char_type do_tolower(char_type c) const override
{
if (c >= 'A' && c <= 'Z')
return c + 32;
@@ -60,7 +60,7 @@ namespace Anope
class rfc1459_ctype : public ascii_ctype<char_type>
{
public:
- char_type do_toupper(char_type c) const anope_override
+ char_type do_toupper(char_type c) const override
{
if (c == '{' || c == '}' || c == '|')
return c - 32;
@@ -68,7 +68,7 @@ namespace Anope
return ascii_ctype<char_type>::do_toupper(c);
}
- char_type do_tolower(char_type c) const anope_override
+ char_type do_tolower(char_type c) const override
{
if (c == '[' || c == ']' || c == '\\')
return c + 32;