rsx: Apply Clang-Tidy fix "modernize-use-emplace"

This commit is contained in:
scribam 2019-06-08 09:22:42 +02:00 committed by kd-11
parent a555504142
commit 635695ac78
9 changed files with 41 additions and 41 deletions

View file

@ -80,12 +80,12 @@ void GLFragmentDecompilerThread::insertInputs(std::stringstream & OS)
{
if (m_prog.front_color_diffuse_output && m_prog.back_color_diffuse_output)
{
inputs_to_declare.push_back("front_diff_color");
inputs_to_declare.emplace_back("front_diff_color");
}
if (m_prog.front_color_specular_output && m_prog.back_color_specular_output)
{
inputs_to_declare.push_back("front_spec_color");
inputs_to_declare.emplace_back("front_spec_color");
}
}