mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 22:19:02 +00:00
rsx: Apply Clang-Tidy fix "modernize-use-emplace"
This commit is contained in:
parent
a555504142
commit
635695ac78
9 changed files with 41 additions and 41 deletions
|
|
@ -142,10 +142,10 @@ void GLVertexDecompilerThread::insertOutputs(std::stringstream & OS, const std::
|
|||
}
|
||||
|
||||
if (insert_back_diffuse && insert_front_diffuse)
|
||||
outputs_to_declare.push_back("front_diff_color");
|
||||
outputs_to_declare.emplace_back("front_diff_color");
|
||||
|
||||
if (insert_back_specular && insert_front_specular)
|
||||
outputs_to_declare.push_back("front_spec_color");
|
||||
outputs_to_declare.emplace_back("front_spec_color");
|
||||
|
||||
for (auto &name: outputs_to_declare)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue