1
0
mirror of https://github.com/anope/anope.git synced 2026-07-06 14:13:13 +02:00

Use auto in as many places as possible.

This commit is contained in:
Sadie Powell
2026-03-05 18:03:44 +00:00
parent 98703052cc
commit 12545ccbde
72 changed files with 198 additions and 198 deletions
+1 -1
View File
@@ -26,7 +26,7 @@ static unsigned char case_map_upper[256], case_map_lower[256];
/* called whenever Anope::casemap is modified to rebuild the casemap cache */
void Anope::CaseMapRebuild()
{
const std::ctype<char> &ct = std::use_facet<std::ctype<char> >(Anope::casemap);
const auto &ct = std::use_facet<std::ctype<char> >(Anope::casemap);
for (unsigned i = 0; i < sizeof(case_map_upper); ++i)
{