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

Fix the location of &* on types.

This commit is contained in:
Sadie Powell
2026-03-26 16:01:05 +00:00
parent 5355b53008
commit eaa24d3b0a
14 changed files with 18 additions and 19 deletions
+2 -2
View File
@@ -272,7 +272,7 @@ void InfoFormatter::SendTo(CommandSource &source)
std::sort(this->options.begin(), this->options.end());
auto &optstr = (*this)[_("Options")];
for (const auto& option : this->options)
for (const auto &option : this->options)
{
if (!optstr.empty())
optstr += ", ";
@@ -436,7 +436,7 @@ bool LineWrapper::GetLine(Anope::string &out)
auto toggle_formatting = [this, &uncertain_formatting](const Anope::string &fmt)
{
auto it = std::find_if(formatting.begin(), formatting.end(), [&fmt](const auto& f) {
auto it = std::find_if(formatting.begin(), formatting.end(), [&fmt](const auto &f) {
return f[0] == fmt[0];
});
if (it == formatting.end())