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

Replace all uses of push_back with emplace_back.

This commit is contained in:
Sadie Powell
2022-01-04 12:28:55 +00:00
parent 7d1047490e
commit 106750db77
19 changed files with 57 additions and 57 deletions
+1 -1
View File
@@ -186,7 +186,7 @@ void TemplateFileServer::Serve(HTTPProvider *server, const Anope::string &page_n
if (temp_variables.size() != real_variables.size())
Log() << "Invalid FOR in web template " << this->file_name << " variable mismatch";
else
ForLoop::Stack.push_back(ForLoop(j + f, r, temp_variables, real_variables));
ForLoop::Stack.emplace_back(j + f, r, temp_variables, real_variables);
}
}
else if (content == "END FOR")