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:
+1
-1
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user