rsx: Apply Clang-Tidy fix "performance-for-range-copy"

This commit is contained in:
scribam
2019-06-08 08:01:28 +02:00
committed by kd-11
parent db926ee671
commit 331fe01762
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -187,7 +187,7 @@ void GLVertexDecompilerThread::insertMainStart(std::stringstream & OS)
OS << "{\n";
//Declare temporary registers, ignoring those mapped to outputs
for (const ParamType PT : m_parr.params[PF_PARAM_NONE])
for (const ParamType &PT : m_parr.params[PF_PARAM_NONE])
{
for (const ParamItem &PI : PT.items)
{
+1 -1
View File
@@ -223,7 +223,7 @@ void VKVertexDecompilerThread::insertMainStart(std::stringstream & OS)
OS << "{\n";
//Declare temporary registers, ignoring those mapped to outputs
for (const ParamType PT : m_parr.params[PF_PARAM_NONE])
for (const ParamType &PT : m_parr.params[PF_PARAM_NONE])
{
for (const ParamItem &PI : PT.items)
{