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