mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-07 07:21:25 +12:00
rsx: Apply Clang-Tidy fix "performance-for-range-copy"
This commit is contained in:
parent
db926ee671
commit
331fe01762
2 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue